[UPHPU] UTF8 Encoding
tjhunter at gmail.com
Fri Jun 17 12:59:07 MDT 2005
Are you setting a content-type header that contains the charset in the emails?
Content-Type: text/plain; charset=UTF-8
or text/html if you're sending html emails.
On 6/17/05, Jason Scherbel <jscherbel at jazzfanz.com> wrote:
> If this is too far off topic, I apologize and I'll take my questions
> I'm generating emails from PHP script that are XML documents for a
> system integration. The company I'm working with is claiming that they
> aren't European language compatible even though, in the code, I'm doing
> a utf8_encode() on the body of the email. Now I'm fairly new to
> encoding, encryption, etc. and part of this same project is to encrypt
> the body of the email using ECB and then base64_encode() the body.
> My question is, I've got the encryption working using the mcrypt.so
> library but what can or should I do to make it compatible with European
> languages? Do I utf8_encode before I encrypt and base64_encode? Do I
> need to check the body that I'm about to encrypt to ensure it doesn't
> have European characters in it? If so, how? I'm a LOT lost on the
> correct approach. I don't understand the UTF8 stuff :)
> Any help is greatly appreciated.
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 6/14/2005
> UPHPU mailing list
> UPHPU at uphpu.org
> IRC: #uphpu on irc.freenode.net
More information about the UPHPU