On 2006/1/4, at 上午 8:22, Sean Moss-Pultz wrote:

We have hundreds of bugs that were created in Bugzilla with both traditional chinese and english comments. After running bugzilla2trac.py the new tickets are not displaying the chinese text correctly. It's just a bunch of messed up characters. Has anyone seen this before?


The script tries to encode the data coming from bugzilla into UTF-8. If this encoding step is removed from this script everything works fine. For example:

--------------------------------------------------------------------------------------------------------------
254c254
<                       ("severity", value.encode('utf-8'), i))
---
>                       ("severity", value, i))

... etc ...

--------------------------------------------------------------------------------------------------------------

Is this correct? Should we patch the bugzilla2trac script?

Thanks,

Sean


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to