Skip to content
/ clocale Public

A ruby gem which wraps the C locale functions

License

Notifications You must be signed in to change notification settings

avdv/clocale

Repository files navigation

clocale rubygem-badge github-badge appveyor-badge codecov-badge

This Ruby extension provides access to the C library's setlocale, strxfrm and strcoll functions which are inherently useful for proper sorting (collation) of strings.

This extension is quite similar to https://github.com/k3rni/ffi-locale but does not use FFI because the LC_* constants are not stable across different C libraries.