User agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101
Firefox/27.0 SeaMonkey/2.24
Build identifier: 20140203230449

Received an email today from a US government agency that is encoded with:

Content-Disposition: inline
Content-Type: text/html;
 charset="utf-16le"
Content-Transfer-Encoding: quoted-printable

SeaMonkey encodes the message incorrectly so the end result is junk.
Sample in text mode:

⁽⁩⁧†⁻††††⁤⁩⁳⁰⁡⁹›†⁢⁣※⁽⁩⁧‮⁩⁣†⁻††††⁤⁩⁳⁰⁡⁹›†⁩⁩⁥※⁽ 
‪†⁅⁤†⁦†⁤⁥⁦⁡⁵⁴‮⁣⁳⁳†‪ 
‮⁚⁅⁒⁌‭⁍⁁⁉⁌††⁤⁩⁶‣⁁⁁‮⁰⁡⁲⁻††††⁦⁴‭⁦⁡⁩⁹†›†•⁁⁲⁩⁡•†※††††⁦⁴‭⁳⁩⁺⁥†›†‱′⁰⁴†※††††⁦⁴‭⁷⁥⁩⁧⁨⁴†›†⁲⁡†※††††⁩⁥‭⁨⁥⁩⁧⁨⁴†›†‴‮′″†※††††⁴⁥⁸⁴‭⁤⁥⁣⁲⁡⁴⁩†›†⁥†※††††⁴⁥⁸⁴‭⁡⁩⁧†›†⁥⁦⁴†※††††⁣⁥⁡⁲†›†⁢⁴⁨†※⁽‮⁚⁅⁒⁌‭⁍⁁⁉⁌††⁤⁩⁶‣⁂⁂‮⁰⁡⁲⁻††††⁦⁴‭⁦⁡⁩⁹†›†•⁁⁲⁩⁡•†※††††⁦⁴
‭⁳⁩⁺⁥†›†‹⁰⁴†※††††⁦⁴‭⁷⁥⁩⁧⁨⁴†›†⁲⁡†※††††⁩⁥‭⁨⁥⁩⁧⁨⁴†›†″‮‰‰†※††††⁴⁥⁸⁴‭⁤⁥⁣⁲⁡⁴⁩†›†⁥†※††††⁴⁥⁸⁴‭⁡⁩⁧†›†⁥⁦⁴†※††††⁣⁥⁡⁲†›†⁢⁴⁨†※⁽‮⁚⁅⁒⁌‭⁍⁁⁉⁌††⁤⁩⁶‣⁃⁃‮⁰⁡⁲⁻††††⁦⁴‭⁦⁡⁩⁹†›†•⁁⁲⁩⁡•†※††††⁦⁴‭⁳⁩⁺⁥†›†‱‱⁰⁴†※††††⁦⁴‭⁷⁥⁩⁧⁨⁴†›†⁲⁡†※††††⁩⁥‭⁨⁥⁩⁧⁨⁴†›†‴‮′″†※††††⁴⁥⁸⁴‭⁤⁥⁣⁲⁡⁴⁩†›†⁥†※††††⁴⁥⁸⁴‭⁡⁩⁧†›†⁥⁦⁴†※

Sample in view full html mode:

< h t m l x m l n s = " h t t p : / / w w w . w 3 . o r g / 1 9 9 9 / x
h t m l " x m l n s : x f a = " h t t p : / / w w w . x f a . o r g / s
c h e m a / x f a - t e m p l a t e / 2 . 1 / " > < h e a d > < ! - - S
m a r t F o r m : Z E R F _ R E S E T _ P A S S W O R D L a n g u a g e
: E N - - > < m e t a h t t p - e q u i v = " C o n t e n t - T y p e "
c o n t e n t = " t e x t / h t m l ; c h a r s e t = u t f - 1 6 l e "
/ > < s t y l e > s f { d i s p l a y : b l o c k ; } @ m e d i a p r i
n t { . x s f n o p r i n t { d i s p l a y : n o n e ; } } / * D e f a
u l t c s s l a y o u t i n f o r m a t i o n f o r S A P S m a r t F o
r m s ( X S F O u t p u t ) L a s t m o d i f i e d : 1 2 . 0 5 . 2 0 0
3 * / @ m e d i a s c r e e n { b o d y { b a c k g r o u n d - c o l o
r : # E F E F E F ; } } @ m e d i a s c r e e n { . p a g e { b o r d e
r - s t y l e : o u t s e t ; b o r d e r - w i d t h : 2 p t ; b a c k
g r o u n d - c o l o r : w h i t e ; } } / * @ m e d i a p r i n t { .
p a g e { o v e r f l o w : h i d d e n ; } } * / / * u n i f i c a t i
o n b r o w s e r - d e p e n d e n t s e t t i n g s * / t a b l e { b
o r d e r - s p a c i n g : 0 p t ; e m p t y - c e l l s : s h o w ; }
t r { v e r t i c a l - a l i g n : t o p ; } t d

I also read the email in:

User Agent      Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0)
Gecko/20100101 Thunderbird/24.3.0

with the same result.

Viewing in Opera

Version 12.16
Build 1860
Platform Linux
System x86_64, 3.11.0-18-generic

decodes the msg properly and displays:

Reset Password
Dear <user>,
Click on the link below to reset your password.
Reset Password
This link will expire in 24 hours.
Kind Regards,
Human Resources
THIS IS AN AUTOMATIC SYSTEM GENERATED EMAIL. PLEASE DO NOT RESPOND TO
THIS MESSAGE.

(No link actually appears in the Opera)

Anyone else have a smilar issue w/Mozilla & UTF-16LE?

_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to