6.0.0-alpha14
7/1/25

[#9755] print message issues for japanese
Summary print message issues for japanese
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester hiromi (at) tac (dot) tsukuba (dot) ac (dot) jp
Created 03/31/2011 (5206 days ago)
Due
Updated 10/05/2011 (5018 days ago)
Assigned
Resolved 10/05/2011 (5018 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/05/2011 07:26:21 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
Version ⇒ Git master
 
10/05/2011 07:25:47 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9755: Fix display of encoded subject text on print page

  3 files changed, 5 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/f402a2848d5cdb0bb6b854f1383772d003e5f7dd
03/31/2011 05:14:59 AM hiromi (at) tac (dot) tsukuba (dot) ac (dot) jp Comment #1
Priority ⇒ 2. Medium
New Attachment: imp-print-ff.zip Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ print message issues for japanese
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Printing of japanese message makes some garbages.
I attache the sample message and its printed image.
There are 2 issues, I think.
1) Header part seems there are mixed encoded characters.
"Date:" and "Subject:" were translated to japanese and encoded in UTF-8,
Date and subject strings were encoded in ISO-2022-JP.
2) Message body seems stripped some characters (",<,>) out.
If I use Firefox, the log said;
[imp] PHP ERROR: DOMDocument::loadHTML() [<a 
href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Invalid char in 
CDATA 0x1B in Entity, line: 8 [pid 45183 on line 285 of 
"/usr/local/www/horde4/imp/view.php"]

Saved Queries