Closed Bug 1374926 Opened 7 years ago Closed 7 years ago

ISO-2022-JP email's long subject is broken on recent Daily

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1374149

People

(Reporter: masayuki, Unassigned)

Details

(Keywords: intl, regression)

Although I've not tested this with non-ISO-2022-JP emails, I see this bug in my emails in this week and/or more.

Looks like that if encoded subject is in only one line, this isn't reproduced. Otherwise, this may be reproduced but not sure the exact condition since even if the subject is long Japanese text, it might not be broken.

For example,

Subject: =?ISO-2022-JP?B?GyRCJDRDbUo4JCIkaiQsJEgkJiQ0JDYkJCReJDckPxsoQg==?=

is decoded and displayed as:

ご注文ありがとうございました

However,

Subject: =?ISO-2022-JP?B?GyRCJV4lJCVaITwlOCROJCobKEI=?=
 =?ISO-2022-JP?B?GyRCQ04kaSQ7NSFHPUBfRGokLEpROTkkNSRsJF4kNyQ/ISMbKEI=?=

should be displayed as:

マイページのお知らせ機能設定が変更されました。

but actually, it's displayed as:

マイページのお�知らせ機能設定が変更されました。

The position of "�" is between the two lines of encoded subject.


When I reply to such email, the subject in the compose window is also broken.

# If you need full of an email, let me know. I'll email your bugmail as an attachment.
Thanks for reporting. It would already be fixed if my reviewer had reviewed it :-(
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Summary: non-utf-8 email's long subject is broken on recent Daily → ISO-2022-JP email's long subject is broken on recent Daily
You need to log in before you can comment on or make changes to this bug.