Hello,
Currently, all the char fields of the lconv struct returned by localeconv are set to -1.
According to
http://pubs.opengroup.org/onlinepubs/9699919799/functions/localeconv.html
,
negative values are not valid and CHAR_MAX should be used to indicate non-available values.
If I’m not missing anything, here’s the corresponding patch: