Accents in the subject of the message
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alfonso_Garzon
Posted On:   Friday, January 10, 2003 02:43 AM

I have a problem with the text of the subject of the messages.
If they take accent not it shows correctly.
This happens if it is made from UNIX. From Windows if one is well.
Nevertheless the body of the mail if it takes accents, if they are correctly in both operating systems.
It could say somebody because in UNIX one is not correctly.
Thanks

Re: Accents in the subject of the message

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, January 10, 2003 08:09 AM

Email headers can only contain 7-bit US ASCII characters, according to the Internet standards (mainly RFC 2822, also 2821). For any characters outside that charset, they have to be encoded first. Your (sender's) email client should display the proper characters (accented etc.) to you when you are composing the message, but needs to encode them for transmission. The recipient's email client needs to decode them, for display at the other end.



See RFC 2047 for details about encoding characters in email headers.




Here are some classic examples, from RFC 2047, of some encoded text in email headers:



From: =?ISO-8859-1?Q?Olle_J=E4rnefors?=



From: Nathaniel Borenstein
(=?iso-8859-8?b?7eXs+SDv4SDp7Oj08A==?=)



The first example is of some iso-8859-1 characters, encoded using the "Q" encoding (same as "quoted-printable" content-transfer-encoding for body parts). The second example is some iso-8859-8 characters, using the "B" encoding (same as "base64" content-transfer-encoding for body parts).



Unlike body parts which need a separate header to tell how they are encoded, in the headers like these, as you see, the start of the escape sequence tells what encoding scheme is used, and what character set has been encoded in it.

About | Sitemap | Contact