Fix that like following:
$text = htmlspecialchars($text);
$text = htmlspecialchars($text, ENT_COMPAT, _CHARSET);
or using UTF-8 internal charset.
--
Nobuhiro YASUTOMI (MySite Users Webmaster)
Nobuhiro YASUTOMI (MySite Users Webmaster)