I've checked in some changes to handle the locale better.
If the user specifies a language code longer than 2 bytes, the
first 2 bytes are used to find the right array from lang.h, and
the full language code is passed to setlocale.
If the user specifies a 2-byte language code or lets if default to en,
a 5-byte code from the language_entry ltable[] in lang.h is used for
setlocale.
The code for Swedish is now "sv". The "se" code is changed to "sv" with a
warning.
-- ------------------------------------------------------------------------------ Peter McCluskey | Free Dmitry Sklyarov! http://www.freesklyarov.org/ http://www.rahul.net/pcm |Received on Sat 24 Nov 2001 03:17:36 AM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT