logilab-common #109740 string conversion bug in date.py when given a month with an accented character (e.g. "décembre") [done]
Trying to read in UTF-8 the month written in Latin-1.
Traceback, when setting, in Documentor, a month which gets to be written with a Latin-1 accented character : | |
priority | important |
---|---|
type | bug |
done in | 0.58.3 |
load | 0.100 |
load left | 0.000 |
closed by | #97da24fddab9 ustrftime: ask the system for the encoding instead of trying to guess |
Comments
-
2012/10/24 08:37, written by sthenault
-
2012/10/24 11:48, written by sthenault
add commentthis usually occurs due to bad locale configuration. Hard to fix in logilab.common
there is actually a bug in ustrftime, which is not properly detecting LC_TIME encoding. Reopening