UTF8 ─自前ルーチン→ UCS2 ─WideCharToMultiByte→ SJIS

UTF8 → UCS2
http://www.linux.or.jp/JM/html/LDP_man-pages/man7/utf-8.7.html