Issue 1692792
Created on 2007-04-02 10:48 by anonymous, last changed 2007-09-26 14:10 by jpend.
msg2418 |
Author: [hidden] (anonymous) |
Date: 2007-04-02 10:48 |
|
i'm tring to use roundup on Windows server with sqlite (packaged with python25) as backend. All of texts in issue descriptions are in russian.
when running "roundup-admin -i . list issue" from cmd console on Win2003 i've got totally unreadable text. I've got "dump" of unicode (utf8?) string with two characters (printed in ascii "dos" (with pseudographics) encoding) per real russian character.
I've tried prepend roundup-admin with "chcp 1251" (ansi or "windows" encoding) with exactly the same result. However, cmd console on nt-systems has some support for unicode printing, and, for example
print "РуÑÑкий"
print "РуÑÑкий".decode('cp866')
print "one %s two" % "РуÑÑкий".decode('cp866')
works good in interactive python interpreter ("РуÑÑкий"="Russian")
but
print "РуÑÑкий %s" % "РуÑÑкий".decode('cp866')
raises
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xab in position 3: ordinal not in range(128)
|
msg2419 |
Author: [hidden] (jpend) |
Date: 2007-09-26 14:10 |
|
Fix committed to CVS.
|
|
Date |
User |
Action |
Args |
2007-04-02 10:48:10 | anonymous | create | |
|