and e.g. French month names


The solution which works for me is to "import locale" and get the default
encoding from it. I have tested it on both Win XP and 2000 and it works for
me, i.e. in English locale I get "Dec" and in French locale I get "d�c." etc.
without the correction I would get a graphic sign for the "�".

Successfully tested on Linux with LC_TIME=fr_FR.

The only two changes needed to are:

import locale

and change

return dt.strftime(fmt)

There are several other uses of strftime. Maybe some of them should be
changed, also...


"Werner F. Bruhin" <werner.bruhin@...185...> wrote: