http input で SJIS->UTF8
http ouotput で UTF8->SJIS
すりゃいいだけじゃね?