thanks for the reply, it seems that the problem was related to encoding of the file because I got the same code and put into another file and worked perfectly.
Thank you very much! 2009/5/19 Cameron Kaiser <[email protected]>: > >> The class works but when I use any special characters in the message >> here in Brazil two characters after the special character disappears. > > This sounds like you aren't handling UTF-8 correctly in PHP. In particular > you should look at the utf8_encode() and _decode() functions. This page > may also be useful for multi-byte encodings: > > http://developer.loftdigital.com/blog/php-utf-8-cheatsheet > > -- > ------------------------------------ personal: http://www.cameronkaiser.com/ > -- > Cameron Kaiser * Floodgap Systems * www.floodgap.com * [email protected] > -- The faster we go, the rounder we get. -- The Grateful Dead, on relativity > -- > -- Amplexos, Leo Baiano http://www.leobaiano.com http://www.blog.ljunior.com http://www.mcelebridades.com http://www.twitter.com/leobaiano
