Ffi-locale v1.0.1


I’ve just released the ffi-locale gem v1.0.1 which is a thin wrapper
around the C library functions setlocale and localeconv.

To install:

$ [sudo] gem install ffi-locale

The main purpose of this gem is to provide the setlocale(LC_ALL, “”)
call to 1.8.7 for my ffi-ncurses library so that widechar functions
will correctly process UTF-8 input. However, as it wasn’t much more
work, I’ve added the localeconv method which returns the various
monetary formatting conventions based on the current locale (such as
currency symbol, decimal point character, etc.).

Source code available at GitHub - seanohalpin/ffi-locale: A simple FFI wrapper for the C library setlocale and localeconv functions..