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?

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to