|Subject:||Re: Html message with accents|
|Posted by:||Remy Lebeau \(Indy Team\) (firstname.lastname@example.org)|
|Date:||Fri, 6 Nov 2009|
"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
> Remy, I'm trying to send a Html message with accents:
Which version of Indy are you using? Accents should be working fine as long
as you are using an up-to-date version, and the OS's default codepage
supports those characters to begin with.
> But the mail is coming this way:
> test: A! AC A?
That means the original characters are being converted to UTF-8 correctly
(as the UTF-8 encoded form of the text you have shown is 'test: Ã¡ Ã© Ã§'),
but then the resulting bytes are getting converted back to a different Ansi
codepage somewhere along the way. Can you show the raw data that your
client is actually transmitting? Use a packet sniffer such as Wireshark, or
just use one of the TIdMessage.SaveTo() methods.
Remy Lebeau (TeamB)
Html message with accents posted by Alexandre on Fri, 6 Nov 2009