Project

clocale

0.01
No release in over 3 years
Low commit activity in last 3 years
A Ruby gem that wraps C locale functions.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.1.10
~> 12.3
~> 3.7
~> 0.58
 Project Readme

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.