[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] problems with special letters
From: |
Jeffrey Stedfast |
Subject: |
Re: [Pan-users] problems with special letters |
Date: |
29 Aug 2002 14:10:46 -0400 |
> hi people!
>
> does anybody know why the following text does not get converted
> correctly in Pan (0.13.0)
>
> =?iso-8859-2?Q?Bug=20when=20compiled=20\"under\"=20Athlon?=
>
Yea, this is an invalid encoded-word. The \'s and "'s are what make it
invalid. Assuming that the original string was:
Bug when compiled "under" Athlon
The mailer that encoded that string is broken in several ways:
First, the original string did not need to be encoded at all - it does
not contain any illegal characters (no 8bit text nor any control
characters or anything else that would require encoding).
Secondly, well, it just didn't encode it correctly at all :-)
the proper encoding would have been:
=?iso-8859-1?Q?Bug_when_compiled_=22under=22_Athlon?=
And yes, I really do mean iso-8859-1 (iso-8859-1 is the
least-common-denominator of charset that can be used to encode that set
of text, which is what the rfcs recommend a client do - however, it
still would have been correct to have used iso-8859-2 as well - heck, it
could have even said the charset was UTF-8 if it wanted to).
Jeff
--
Jeffrey Stedfast <address@hidden>