|> Subject: Re: Z kamieniem w =?iso-8859-2?Q?r=EAku?= ...ku ...ku ...ku ...
|> Mime-Version: 1.0
|> Content-Type: text/plain; charset=iso-8859-2
|> Content-Transfer-Encoding: quoted-printable
etc.
| The "Subject:" line and the body contain some strange characters instead
|of Polish letters. What can be done in order to read/write quoted-printable
|mail/news with Polish national characters?
I am afraid Yarn still does not implement the standard for encoding characters
in header lines. The MIME headers for charater set only apply to the body,
since headers may contain characters from another character set than the
one used in tha body. This is necessary in international communications,
since for instance my first name cannot be written in your 8859-2
character set but will need 8859-1. If I were to use my first name in the
from field in a reply where the subject contained some polish character,
both character sets would need to be used. I am afraid that this is not
possible in a text-mode application, where you can only use one codepage
for the entire window. Still, support of a "best match" with correct
header decoding (and encoding) would be a great improvement.
As for the body, you must include information in your Yarn config file.
Mine looks like
# map ISO-8859/1 (ISO Latin 1) character set to IBM code page 850
charset=iso-8859-1
but it appears that conversion between 8859-2 and CP 852 is not
implemented yet. In case I am wrong, you may try to make the
substitution and see what happens. If not, you must hope for an
upgrade soon. Another coding table should not be hard to implement.
To get a good MIME implementation (with support for text/enriched),
it will be necessary to use Presentation Manager instead of text mode.
Then, character set translation is supplied by OS/2 API calls. It can
even be done in Windows (shudder), but with a greater programming
effort.