mb_convert_encodingの履歴

$word = mb_convert_encoding($word, 'Shift_JIS', 'UTF-8');

だと

$wordの文字コードを'UTF-8'から'Shift_JIS'に変えるという意味。
逆にならないように注意!

mb_convert_encoding
http://search.net-newbie.com/php/function.mb-convert-encodin...