UTF-8 and KMail
Robin Rosenberg
robin.rosenberg at dewire.com
Tue Jun 8 10:49:05 BST 2004
On Tuesday 08 June 2004 01.47, Pupeno wrote:
> I opened the file (that is, the file in my Mail folder) and it looked like
> this:
> I'm having trouble with kmail when displaying characters like=20
> "=C3=A1=C3=A9=C3=AD=C3=B3=C3=BA=C3=B1=C3=A0=C3=A8=C3=AC=C3=B2=C3=B9=C3=A2=
> =C3=AA=C3=AE=C3=B4=C3=BB=C4=9D=C4=89=C4=B5" in the incomming mail.
>
> Personally, I believe kmail is 'scrambling' something when fetching the
> mails or something like that, what do you think ?
Not, scrambling. it's encoding. First your characters get character codes
according to Unicode, then they get transformed to a byte sequence according
to UTF-8 rules, and finally they get packaged in MIME-quoted-printable
encoding for the on-wire mail format. Basically all bytes with the eigt bit
set get encoded.
รก has the unicode code point 225 which in UTF-8 becomes the byte sequence 195
161 which in hexadecimal notation is 0xC3 0xA1 which in MIME printed quotable
form is =C3=A1
-- robin
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list