You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Boost.Locale code uses, in this order, environment variables LC_CTYPE, LC_ALL and LANG to detect the default system locale. This is different from the standard behaviour, which is to use, in the order, LC_ALL, LC_* and LANG (see, for instance, the POSIX reference).
I think it would be great for Boost to adhere to the standard behaviour.
Please see patch #22. Note that that is minimal fix, it just switches LC_CTYPE and LC_ALL. The best fix is to create each facet with its matching environment variable, not just with LC_CTYPE.
Current Boost.Locale code uses, in this order, environment variables
LC_CTYPE
,LC_ALL
andLANG
to detect the default system locale. This is different from the standard behaviour, which is to use, in the order,LC_ALL
,LC_*
andLANG
(see, for instance, the POSIX reference).I think it would be great for Boost to adhere to the standard behaviour.
This bug was first reported to the Debian bug tracking system: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893884
The text was updated successfully, but these errors were encountered: