Date: Mon, 12 Jul 2004 19:20:28 -0300 From: =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= <jonny@jonny.eng.br> To: questions@freebsd.org Subject: Locale data Message-ID: <40F30EAC.1090708@jonny.eng.br>
next in thread | raw e-mail | index | archive | help
Hi, I'm not sure what should be the right behavior. If I do not select a locale charset, strftime does not work right. FreeBSD 4.10: minerva::root locale [2445] LC_ALL=en_US date +"%x" 07/12/04 minerva::root locale [2446] LC_ALL=pt_BR date +"%x" 07/12/04 minerva::root locale [2447] LC_ALL=pt_BR.ISO8859-1 date +"%x" 12/07/2004 minerva::root locale [2448] Linux: cerbero::root jonny [1010] LC_ALL=en_US date +"%x" 07/12/2004 cerbero::root jonny [1011] LC_ALL=pt_BR date +"%x" 12-07-2004 cerbero::root jonny [1012] LC_ALL=pt_BR.ISO8859-1 date +"%x" 12-07-2004 cerbero::root jonny [1013] (Note that / is the right separator, Linux is buggy in this aspect) Shouldn't the locale select the best charset if it is not defined? I have problems with this in third party applications. They just set locale as pt_BR and dont give me a choice of adding a charset extension. What should I do? Is this a FreeBSD bug?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F30EAC.1090708>