> 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 * ckai...@floodgap.com -- The faster we go, the rounder we get. -- The Grateful Dead, on relativity --