GNOME Bugzilla – Bug 349877
composed mail with chinese characters will print garbled characters
Last modified: 2006-12-21 16:49:28 UTC
Please describe the problem: When compose a new mail with some chinese characters, try to Print Preview or Print to real paper, it will show you garbled characters Steps to reproduce: 1. Compose a new mail 2. Write some chinese characters in mail body, for example: 你好 3. Click File->Print or press Ctrl+P 4. Press "Print Preview" button or "Print" button Actual results: Print Preview or printed paper won't show correct chinese Expected results: Print Preview or printed paper show mail body with chinese character correctly Does this happen every time? Yes Other information:
Reassigning the component.
halton, which locale are you in when composing the mail? And can you attach a screen shot of the print preview window?
oops, reassigning back.
setting to NEEDINFO until harry's question get answered. please REOPEN when answering, thanks in advance.
Created attachment 70358 [details] screenshot of bug 349877 under solaris english locale
Created attachment 70360 [details] screenshot of bug 349877 under linux chinese locale
Harry, I can reproduce this bug on zh_CN.UTF-8 and en_US.UTF-8 locale, whille can not reproduce on C locale. Only difference I did is that on UTF-8 locale I can input chinese directly, on C locale I need copy Chinese characters.
Harry, I found it not related with the locales, I try C locale on SunRay, it automatically add my signature automatically, and print well, when I delete the signature, this bug still there. So still can reproduce this bug under C locale. Test case which works well: 你好 -- Hai-Tao Halton Huo <Halton.Huo@Sun.COM> Test case which does not work: 你好
Hello Halton, Is this bug happening only with ASCII mails, while the ones in HTML mode work with print/preview? If yes, then it corresponds to a bug report downstream - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202751 I'm attaching the patch. Thanks, Makuchaku
Created attachment 77337 [details] [review] Patch to fix i18n printing/preview
Creating a NEEDINFO for Halton Is this bug happening only with ASCII mails, while the ones in HTML mode work with print/preview? Thanks, Makuchaku
This bug happening only with ASCII mail, works fine if I click Format->HTML.
Good... then this bug seems a DUP of Bug 355766 – Multi-lang text in Body is not printed when composing in ASCII mode Thanks Halton :)
*** This bug has been marked as a duplicate of 355766 ***