Closed Bug 296077 Opened 20 years ago Closed 20 years ago

concatenate two encoded words (RFC 2047) into one before converting to Unicode, if possible

Categories

(MailNews Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 286551

People

(Reporter: jshin1987, Assigned: jshin1987)

Details

(Keywords: intl)

Some buggy email programs (especially web mail services) violate RFC 2047 and
split a single character in a multibyte encoding into two encoded words. The
following was taken from an email I received from a Yahoo user. 

Subject: =?euc-kr?q?Re:=20[ks2]=20=B0=AD=B3=B2=BF=AA=C0=CC=B3=AA=20=BE=E7=C0=E7=BF?=
 =?euc-kr?q?=AA=BF=A1=BC=AD...?=

In the above example, '=BF' in the first encoded word and '=AA' in the second
encoded word represents a single Korean character. 

This is rather tricky because different encoded words can be in different
character encodings. Eventually, I may end up resolving this as 'wont fix', but
let's see what can be done for a while.
ooops. thanks for pointing that out.


*** This bug has been marked as a duplicate of 286551 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.