Message123625
| Author |
belopolsky |
| Recipients |
belopolsky, brian.curtin, ocean-city |
| Date |
2010年12月08日.17:58:09 |
| SpamBayes Score |
0.0022699777 |
| Marked as misclassified |
No |
| Message-id |
<1291831091.28.0.453031146791.issue10653@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> ValueError: time data '2010 14 58 01 3 342 \x93\x8c\x8b\x9e (\x95W\x8f\x80\x8e\x9e)' does not match format '%Y %H %M %S %w %j %Z'
This looks like valid cp932 data to me
>>> b'2010 14 58 01 3 342 \x93\x8c\x8b\x9e (\x95W\x8f\x80\x8e\x9e)'.decode('cp932')
'2010 14 58 01 3 342 東京 (標準時)'
Please help me with Japanese, but I think the above means Tokyo timezone. However, strftime should have produced decoded unicode strings, not raw cp932 in a str. What does time.strftime('%Z') return on your system? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年12月08日 17:58:11 | belopolsky | set | recipients:
+ belopolsky, ocean-city, brian.curtin |
| 2010年12月08日 17:58:11 | belopolsky | set | messageid: <1291831091.28.0.453031146791.issue10653@psf.upfronthosting.co.za> |
| 2010年12月08日 17:58:10 | belopolsky | link | issue10653 messages |
| 2010年12月08日 17:58:10 | belopolsky | create |
|