6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1423] IMP4 japanese subject problem
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /.__ .___. . |__| >< [__)[__ | | | |/ \| \| |__|
Comment
> Problem: viewing of japanese subject strings collaped sometimes > > (in mailbox view and message view) > > > > Reason: > > Japanese mails uses iso-2022-jp(7 bit) encoding, for example; > > Subject: =?ISO-2022-JP?B?GyRCJSYlIyVrJTk2bj18GyhC?= > > > > This string is decoded by decode() in horde/lib/Horde/MIME.php; > > (line 351) > > case 'B': > > case 'b': > > $decoded = urldecode(base64_decode($encoded_text)); > > $decoded = String::convertCharset($decoded, $charset, > $to_charset); > > > > The result string of base64_decode() is; > > esc $ B % & % # % k % 9 6 n = | esc ( B (18 bytes total) > > ^ ^ ^ > > these '%9' and '6n' repesent japanese characters, > > but urldecode() convert '%96' to another one !! > > > > So, urldecode() is not need for iso-2022-jp encoding. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers