1. Pre-configure the YUI connection manager to send the correct encoding type request to your back-end script.
2. Pre-process all data in your back-end script, converting the values from UTF-8 to your desired format.
In theory, the first one is the correct choice, but personally I always use the second one, is less painful.
Here is the PHP code for "ISO-8859-1":
if (function_exists('iconv'))
$str = iconv("UTF-8", "ISO-8859-1", $str);
elseif (function_exists('mb_convert_encoding'))
$str = mb_convert_encoding($str, "ISO-8859-1", "UTF-8");







