Message18897
| Author |
tim_evans |
| Recipients |
| Date |
2003年11月06日.21:00:50 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=561705
The windows C lib docs say that calling mbstowcs on the
output of strftime (or calling wcsftime instead of strftime)
will return the correct wide-character (utf-16?) string.
This produces something that looks like it could be correct.
Decoding with the 'mbcs' encoding in Python is not
equivalent to calling mbstowcs because mbstowcs is
locale-dependent.
Perhaps it would be a good idea to have time.strftime return
a unicode string. As this wouldn't be backward compatible,
it could be done via a new function time.ustrftime, or via
an optional unicode=True argument to the existing function. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:18:07 | admin | link | issue836035 messages |
| 2007年08月23日 14:18:07 | admin | create |
|