Posted by Robert G Laurin on May 18, 2010 at 06:11:26:
In Reply to: accent remplace ba an other caracter in email posted by Yves Duperron on May 17, 2010 at 13:10:03:
Yes!
I've been having issues with french accents for many-many years. When I hit the web with Comet had to do some magic...
By default, the internet uses 7 bits encoding. So to send high character, use the 7 bits encoding which is =FF. Remember to use ANSI character set (default for Windows XP and up). Windows 98 used the IBM OEM character set.
So to enconde "COMMANDE (with accent aigu)" You would send "COMMAND=C9" where C9 is character 201.
Try it! You may also want to consider multi-part encoding of MIME messages. It is then possible to send the message as plain text in 8-bits using:
Content-Type: multipart/alternative;
boundary="------------WhatEverRandomOrNotBoundaryUsualyALongNumber"
This is a multi-part message in MIME format.
------------WhatEverRandomOrNotBoundaryUsualyALongNumber
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Plain text with accents
bla bla bla
------------WhatEverRandomOrNotBoundaryUsualyALongNumber
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Your text in either plain or HTML (with headers) and all accents encoded as =XX for plain text or entities É (or É) for HTML.
and closing the message with (simply add '--' at the end of boundary)
------------WhatEverRandomOrNotBoundaryUsualyALongNumber--
If you need help, I have a Comet usefile that I use to convert accents to/from OEM & ANSI. It can also encode entities.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.