why does strftime not respect my locale settings?
Fritz Heinrichmeyer
Fritz.Heinrichmeyer at FernUni-Hagen.de
Fri Feb 24 08:41:56 PST 2006
here is what locale says:
LANG=de_DE.ISO8859-15
LC_CTYPE="de_DE.ISO8859-15"
LC_COLLATE="de_DE.ISO8859-15"
LC_TIME="de_DE.ISO8859-15"
LC_NUMERIC="de_DE.ISO8859-15"
LC_MONETARY="de_DE.ISO8859-15"
LC_MESSAGES="de_DE.ISO8859-15"
LC_ALL=de_DE.ISO8859-15
but today
strftime(buffer, 1000, "%d %A %B", localtime(&timev));
delivers
24 Friday February
setlocale(LC_TIME, "de_DE.ISO8859-15");
strftime(buffer, 1000, "%d %A %B", localtime(&timev));
delivers
24 Freitag Februar
how can i change strftime without setting locale explicitly?
--
Fritz Heinrichmeyer FernUniversitaet, LG ES, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355
More information about the freebsd-questions
mailing list