RE: Euro character in ISO

From: Chris Wendt (christw@MICROSOFT.com)
Date: Wed Jul 12 2000 - 18:36:46 EDT


The trick is HTML4.

Since you sent the message in HTML format, the Euro is encoded as numeric
character reference. Exchange knows how to decode HTML and generate RTF,
depending on what your email client needs.

If you had sent plain text, the Euro would have turned into ?. As is the
case in the plain text part of the multipart message.

This is the case for Outlook Express 5. Older versions of OE treated
Windows-1252 and iso-8859-1 the same.

Here is the source of the message from my Outlook Express Sent Mail folder.
(To see the source, open message and press Ctrl-F3).

From: "Chris Wendt" <christw@microsoft.com>
To: "Chris Wendt" <christw@MICROSOFT.com>
Subject: Euro test
Date: Wed, 12 Jul 2000 15:17:49 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_0005_01BFEC14.57202A10"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01BFEC14.57202A10
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

abcdef ? abcdef

------=_NextPart_000_0005_01BFEC14.57202A10
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#008000 face=3DVerdana size=3D2>abcdef &#8364;=20
abcdef</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01BFEC14.57202A10--

-----Original Message-----
From: Leon Spencer [mailto:Leon.Spencer@brightware.com]
Sent: Wednesday, July 12, 2000 2:38 PM
To: Unicode List
Subject: RE: Euro character in ISO

Is Microsoft playing tricks in MS Outlook or IE?
If I send text from Outlook Express to my exchange
account, with charset set to iso-8859-1 but containing
the Trademark symbol ((tm)) in the body, it shows up
okay. The body of the message is in text/html.

Is it possible that MS Outlook's HTML ActiveX control
(which I'm assuming to be the same used for IE) is
defaulting to Cp1252/Windows-1252 when it sees iso-8859-1?

Leon

BTW, The body also contains the Euro!



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:05 EDT