Forum Moderators: open

Message Too Old, No Replies

displaying entities in plain text email

         

stef25

5:01 pm on Mar 20, 2008 (gmt 0)

10+ Year Member



does anyone know how to send characters like â in a plain text email? the entities below should up just like that and using the actual character â doesnt show up at all. ive tried saving the php file that send this stuff out as UTF-8 but that doesnt make a difference either.

â
â
â

anyone?

Marshall

8:09 pm on Mar 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Plain text is just that - plain text. You cannot add special character codes or HTML.

encyclo

8:33 pm on Mar 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, you can have accents in "plain-text" emails, just it's not done the same way as with HTML. ;) Assuming you have a MIME-compliant application (almost all email clients are), you can use the "Quoted-printable" encoding method, which is defined in the MIME standard. For want of an authoritative resource, here's the Wikipedia article [en.wikipedia.org] - you have to encode all 8-bit characters into 7-bit US-ASCII. Like I said, all but the most ancient or obscure email clients will handle this perfectly - I get many plain-text quoted-printable-encoded emails every day. :)

See also section 6.7 of the RFC:

[ietf.org...]