- ベストアンサー
機種依存文字についての質問
- CSVファイルをアップロードして、文字コードがEUCのデータベースに格納したいと思っております。
- 「はしごたか」「たつさき」などの機種依存文字が文字化けをしてしまいます。
- $name変数の設定やini_set関数の設定でも文字化けは解消されません。
- みんなの回答 (9)
- 専門家の回答
質問者が選んだベストアンサー
Windowsではしごだかを表示する場合 sjis-win(CP932)では0xFB,0xFC euc-jp(CP51932)では0xFC,0xE2 で表示できます PHPのeucjp-win(eucjp-msと同じ)では0x8F,0xF4,0xFBの3バイトになりこれをWindowsで表示すると文字化けしてしまうことになります。 自作で0xFBFC→0xFCE2のような変換テーブルを作ればWindowsでの表示に関しては可能になります。 でもWindows限定になるのでやはりUTF-8で表示するのがいいと思います。 SJIS http://nagasakischooljimu.web.infoseek.co.jp/000mainmenu/093win_gaiji/ibm_kanji_set.htm CP51932 http://legacy-encoding.sourceforge.jp/wiki/index.php?NEC%C1%AA%C4%EAIBM%B3%C8%C4%A5%CA%B8%BB%FA%28cp51932%29 eucJP-ms http://www2d.biglobe.ne.jp/~msyk/charcode/cp932/eucJP-ms.html
その他の回答 (8)
- php504
- ベストアンサー率42% (926/2160)
3/3 // eucJP-win -> CP51932 変換用連想配列 // key:eucJP-win(IBM拡張文字) value:CP51932(NEC選定IBM拡張文字) $eucjpwin_and_cp51932 = array( chr(0x8F).chr(0xD4).chr(0xE3) => chr(0xF9).chr(0xA1), chr(0x8F).chr(0xDC).chr(0xDF) => chr(0xF9).chr(0xA2), chr(0x8F).chr(0xE4).chr(0xE9) => chr(0xF9).chr(0xA3), chr(0x8F).chr(0xE3).chr(0xF8) => chr(0xF9).chr(0xA4), chr(0x8F).chr(0xD9).chr(0xA1) => chr(0xF9).chr(0xA5), chr(0x8F).chr(0xB1).chr(0xBB) => chr(0xF9).chr(0xA6), chr(0x8F).chr(0xF4).chr(0xAE) => chr(0xF9).chr(0xA7), chr(0x8F).chr(0xC2).chr(0xAD) => chr(0xF9).chr(0xA8), chr(0x8F).chr(0xC3).chr(0xFC) => chr(0xF9).chr(0xA9), chr(0x8F).chr(0xE4).chr(0xD0) => chr(0xF9).chr(0xAA), chr(0x8F).chr(0xC2).chr(0xBF) => chr(0xF9).chr(0xAB), chr(0x8F).chr(0xBC).chr(0xF4) => chr(0xF9).chr(0xAC), chr(0x8F).chr(0xB0).chr(0xA9) => chr(0xF9).chr(0xAD), chr(0x8F).chr(0xB0).chr(0xC8) => chr(0xF9).chr(0xAE), chr(0x8F).chr(0xF4).chr(0xAF) => chr(0xF9).chr(0xAF), chr(0x8F).chr(0xB0).chr(0xD2) => chr(0xF9).chr(0xB0), chr(0x8F).chr(0xB0).chr(0xD4) => chr(0xF9).chr(0xB1), chr(0x8F).chr(0xB0).chr(0xE3) => chr(0xF9).chr(0xB2), chr(0x8F).chr(0xB0).chr(0xEE) => chr(0xF9).chr(0xB3), chr(0x8F).chr(0xB1).chr(0xA7) => chr(0xF9).chr(0xB4), chr(0x8F).chr(0xB1).chr(0xA3) => chr(0xF9).chr(0xB5), chr(0x8F).chr(0xB1).chr(0xAC) => chr(0xF9).chr(0xB6), chr(0x8F).chr(0xB1).chr(0xA9) => chr(0xF9).chr(0xB7), chr(0x8F).chr(0xB1).chr(0xBE) => chr(0xF9).chr(0xB8), chr(0x8F).chr(0xB1).chr(0xDF) => chr(0xF9).chr(0xB9), chr(0x8F).chr(0xB1).chr(0xD8) => chr(0xF9).chr(0xBA), chr(0x8F).chr(0xB1).chr(0xC8) => chr(0xF9).chr(0xBB), chr(0x8F).chr(0xB1).chr(0xD7) => chr(0xF9).chr(0xBC), chr(0x8F).chr(0xB1).chr(0xE3) => chr(0xF9).chr(0xBD), chr(0x8F).chr(0xB1).chr(0xF4) => chr(0xF9).chr(0xBE), chr(0x8F).chr(0xB1).chr(0xE1) => chr(0xF9).chr(0xBF), chr(0x8F).chr(0xB2).chr(0xA3) => chr(0xF9).chr(0xC0), chr(0x8F).chr(0xF4).chr(0xB0) => chr(0xF9).chr(0xC1), chr(0x8F).chr(0xB2).chr(0xBB) => chr(0xF9).chr(0xC2), chr(0x8F).chr(0xB2).chr(0xE6) => chr(0xF9).chr(0xC3), chr(0x8F).chr(0xB2).chr(0xED) => chr(0xF9).chr(0xC4), chr(0x8F).chr(0xB2).chr(0xF5) => chr(0xF9).chr(0xC5), chr(0x8F).chr(0xB2).chr(0xFC) => chr(0xF9).chr(0xC6), chr(0x8F).chr(0xF4).chr(0xB1) => chr(0xF9).chr(0xC7), chr(0x8F).chr(0xB3).chr(0xB5) => chr(0xF9).chr(0xC8), chr(0x8F).chr(0xB3).chr(0xD8) => chr(0xF9).chr(0xC9), chr(0x8F).chr(0xB3).chr(0xDB) => chr(0xF9).chr(0xCA), chr(0x8F).chr(0xB3).chr(0xE5) => chr(0xF9).chr(0xCB), chr(0x8F).chr(0xB3).chr(0xEE) => chr(0xF9).chr(0xCC), chr(0x8F).chr(0xB3).chr(0xFB) => chr(0xF9).chr(0xCD), chr(0x8F).chr(0xF4).chr(0xB2) => chr(0xF9).chr(0xCE), chr(0x8F).chr(0xF4).chr(0xB3) => chr(0xF9).chr(0xCF), chr(0x8F).chr(0xB4).chr(0xC0) => chr(0xF9).chr(0xD0), chr(0x8F).chr(0xB4).chr(0xC7) => chr(0xF9).chr(0xD1), chr(0x8F).chr(0xB4).chr(0xD0) => chr(0xF9).chr(0xD2), chr(0x8F).chr(0xB4).chr(0xDE) => chr(0xF9).chr(0xD3), chr(0x8F).chr(0xF4).chr(0xB4) => chr(0xF9).chr(0xD4), chr(0x8F).chr(0xB5).chr(0xAA) => chr(0xF9).chr(0xD5), chr(0x8F).chr(0xF4).chr(0xB5) => chr(0xF9).chr(0xD6), chr(0x8F).chr(0xB5).chr(0xAF) => chr(0xF9).chr(0xD7), chr(0x8F).chr(0xB5).chr(0xC4) => chr(0xF9).chr(0xD8), chr(0x8F).chr(0xB5).chr(0xE8) => chr(0xF9).chr(0xD9), chr(0x8F).chr(0xF4).chr(0xB6) => chr(0xF9).chr(0xDA), chr(0x8F).chr(0xB7).chr(0xC2) => chr(0xF9).chr(0xDB), chr(0x8F).chr(0xB7).chr(0xE4) => chr(0xF9).chr(0xDC), chr(0x8F).chr(0xB7).chr(0xE8) => chr(0xF9).chr(0xDD), chr(0x8F).chr(0xB7).chr(0xE7) => chr(0xF9).chr(0xDE), chr(0x8F).chr(0xF4).chr(0xB7) => chr(0xF9).chr(0xDF), chr(0x8F).chr(0xF4).chr(0xB8) => chr(0xF9).chr(0xE0), chr(0x8F).chr(0xF4).chr(0xB9) => chr(0xF9).chr(0xE1), chr(0x8F).chr(0xB8).chr(0xCE) => chr(0xF9).chr(0xE2), chr(0x8F).chr(0xB8).chr(0xE1) => chr(0xF9).chr(0xE3), chr(0x8F).chr(0xB8).chr(0xF5) => chr(0xF9).chr(0xE4), chr(0x8F).chr(0xB8).chr(0xF7) => chr(0xF9).chr(0xE5), chr(0x8F).chr(0xB8).chr(0xF8) => chr(0xF9).chr(0xE6), chr(0x8F).chr(0xB8).chr(0xFC) => chr(0xF9).chr(0xE7), chr(0x8F).chr(0xB9).chr(0xAF) => chr(0xF9).chr(0xE8), chr(0x8F).chr(0xB9).chr(0xB7) => chr(0xF9).chr(0xE9), chr(0x8F).chr(0xBA).chr(0xBE) => chr(0xF9).chr(0xEA), chr(0x8F).chr(0xBA).chr(0xDB) => chr(0xF9).chr(0xEB), chr(0x8F).chr(0xCD).chr(0xAA) => chr(0xF9).chr(0xEC), chr(0x8F).chr(0xBA).chr(0xE1) => chr(0xF9).chr(0xED), chr(0x8F).chr(0xF4).chr(0xBA) => chr(0xF9).chr(0xEE), chr(0x8F).chr(0xBA).chr(0xEB) => chr(0xF9).chr(0xEF), chr(0x8F).chr(0xBB).chr(0xB3) => chr(0xF9).chr(0xF0), chr(0x8F).chr(0xBB).chr(0xB8) => chr(0xF9).chr(0xF1), chr(0x8F).chr(0xF4).chr(0xBB) => chr(0xF9).chr(0xF2), chr(0x8F).chr(0xBB).chr(0xCA) => chr(0xF9).chr(0xF3), chr(0x8F).chr(0xF4).chr(0xBC) => chr(0xF9).chr(0xF4), chr(0x8F).chr(0xF4).chr(0xBD) => chr(0xF9).chr(0xF5), chr(0x8F).chr(0xBB).chr(0xD0) => chr(0xF9).chr(0xF6), chr(0x8F).chr(0xBB).chr(0xDE) => chr(0xF9).chr(0xF7), chr(0x8F).chr(0xBB).chr(0xF4) => chr(0xF9).chr(0xF8), chr(0x8F).chr(0xBB).chr(0xF5) => chr(0xF9).chr(0xF9), chr(0x8F).chr(0xBB).chr(0xF9) => chr(0xF9).chr(0xFA), chr(0x8F).chr(0xBC).chr(0xE4) => chr(0xF9).chr(0xFB), chr(0x8F).chr(0xBC).chr(0xED) => chr(0xF9).chr(0xFC), chr(0x8F).chr(0xBC).chr(0xFE) => chr(0xF9).chr(0xFD), chr(0x8F).chr(0xF4).chr(0xBE) => chr(0xF9).chr(0xFE), chr(0x8F).chr(0xBD).chr(0xC2) => chr(0xFA).chr(0xA1), chr(0x8F).chr(0xBD).chr(0xE7) => chr(0xFA).chr(0xA2), chr(0x8F).chr(0xF4).chr(0xBF) => chr(0xFA).chr(0xA3), chr(0x8F).chr(0xBD).chr(0xF0) => chr(0xFA).chr(0xA4), chr(0x8F).chr(0xBE).chr(0xB0) => chr(0xFA).chr(0xA5), chr(0x8F).chr(0xBE).chr(0xAC) => chr(0xFA).chr(0xA6), chr(0x8F).chr(0xF4).chr(0xC0) => chr(0xFA).chr(0xA7), chr(0x8F).chr(0xBE).chr(0xB3) => chr(0xFA).chr(0xA8), chr(0x8F).chr(0xBE).chr(0xBD) => chr(0xFA).chr(0xA9), chr(0x8F).chr(0xBE).chr(0xCD) => chr(0xFA).chr(0xAA), chr(0x8F).chr(0xBE).chr(0xC9) => chr(0xFA).chr(0xAB), chr(0x8F).chr(0xBE).chr(0xE4) => chr(0xFA).chr(0xAC), chr(0x8F).chr(0xBF).chr(0xA8) => chr(0xFA).chr(0xAD), chr(0x8F).chr(0xBF).chr(0xC9) => chr(0xFA).chr(0xAE), chr(0x8F).chr(0xC0).chr(0xC4) => chr(0xFA).chr(0xAF), chr(0x8F).chr(0xC0).chr(0xE4) => chr(0xFA).chr(0xB0), chr(0x8F).chr(0xC0).chr(0xF4) => chr(0xFA).chr(0xB1), chr(0x8F).chr(0xC1).chr(0xA6) => chr(0xFA).chr(0xB2), chr(0x8F).chr(0xF4).chr(0xC1) => chr(0xFA).chr(0xB3), chr(0x8F).chr(0xC1).chr(0xF5) => chr(0xFA).chr(0xB4), chr(0x8F).chr(0xC1).chr(0xFC) => chr(0xFA).chr(0xB5), chr(0x8F).chr(0xF4).chr(0xC2) => chr(0xFA).chr(0xB6), chr(0x8F).chr(0xC1).chr(0xF8) => chr(0xFA).chr(0xB7), chr(0x8F).chr(0xC2).chr(0xAB) => chr(0xFA).chr(0xB8), chr(0x8F).chr(0xC2).chr(0xA1) => chr(0xFA).chr(0xB9), chr(0x8F).chr(0xC2).chr(0xA5) => chr(0xFA).chr(0xBA), chr(0x8F).chr(0xF4).chr(0xC3) => chr(0xFA).chr(0xBB), chr(0x8F).chr(0xC2).chr(0xB8) => chr(0xFA).chr(0xBC), chr(0x8F).chr(0xC2).chr(0xBA) => chr(0xFA).chr(0xBD), chr(0x8F).chr(0xF4).chr(0xC4) => chr(0xFA).chr(0xBE), chr(0x8F).chr(0xC2).chr(0xC4) => chr(0xFA).chr(0xBF), chr(0x8F).chr(0xC2).chr(0xD2) => chr(0xFA).chr(0xC0), chr(0x8F).chr(0xC2).chr(0xD7) => chr(0xFA).chr(0xC1), chr(0x8F).chr(0xC2).chr(0xDB) => chr(0xFA).chr(0xC2), chr(0x8F).chr(0xC2).chr(0xDE) => chr(0xFA).chr(0xC3), chr(0x8F).chr(0xC2).chr(0xED) => chr(0xFA).chr(0xC4), chr(0x8F).chr(0xC2).chr(0xF0) => chr(0xFA).chr(0xC5), chr(0x8F).chr(0xF4).chr(0xC5) => chr(0xFA).chr(0xC6), chr(0x8F).chr(0xC3).chr(0xA1) => chr(0xFA).chr(0xC7), chr(0x8F).chr(0xC3).chr(0xB5) => chr(0xFA).chr(0xC8), chr(0x8F).chr(0xC3).chr(0xC9) => chr(0xFA).chr(0xC9), chr(0x8F).chr(0xC3).chr(0xB9) => chr(0xFA).chr(0xCA), chr(0x8F).chr(0xF4).chr(0xC6) => chr(0xFA).chr(0xCB), chr(0x8F).chr(0xC3).chr(0xD8) => chr(0xFA).chr(0xCC), chr(0x8F).chr(0xC3).chr(0xFE) => chr(0xFA).chr(0xCD), chr(0x8F).chr(0xF4).chr(0xC7) => chr(0xFA).chr(0xCE), chr(0x8F).chr(0xC4).chr(0xCC) => chr(0xFA).chr(0xCF), chr(0x8F).chr(0xF4).chr(0xC8) => chr(0xFA).chr(0xD0), chr(0x8F).chr(0xC4).chr(0xD9) => chr(0xFA).chr(0xD1), chr(0x8F).chr(0xC4).chr(0xEA) => chr(0xFA).chr(0xD2), chr(0x8F).chr(0xC4).chr(0xFD) => chr(0xFA).chr(0xD3), chr(0x8F).chr(0xF4).chr(0xC9) => chr(0xFA).chr(0xD4), chr(0x8F).chr(0xC5).chr(0xA7) => chr(0xFA).chr(0xD5), chr(0x8F).chr(0xC5).chr(0xB5) => chr(0xFA).chr(0xD6), chr(0x8F).chr(0xC5).chr(0xB6) => chr(0xFA).chr(0xD7), chr(0x8F).chr(0xF4).chr(0xCA) => chr(0xFA).chr(0xD8), chr(0x8F).chr(0xC5).chr(0xD5) => chr(0xFA).chr(0xD9), chr(0x8F).chr(0xC6).chr(0xB8) => chr(0xFA).chr(0xDA), chr(0x8F).chr(0xC6).chr(0xD7) => chr(0xFA).chr(0xDB), chr(0x8F).chr(0xC6).chr(0xE0) => chr(0xFA).chr(0xDC), chr(0x8F).chr(0xC6).chr(0xEA) => chr(0xFA).chr(0xDD), chr(0x8F).chr(0xC6).chr(0xE3) => chr(0xFA).chr(0xDE), chr(0x8F).chr(0xC7).chr(0xA1) => chr(0xFA).chr(0xDF), chr(0x8F).chr(0xC7).chr(0xAB) => chr(0xFA).chr(0xE0), chr(0x8F).chr(0xC7).chr(0xC7) => chr(0xFA).chr(0xE1), chr(0x8F).chr(0xC7).chr(0xC3) => chr(0xFA).chr(0xE2), chr(0x8F).chr(0xC7).chr(0xCB) => chr(0xFA).chr(0xE3), chr(0x8F).chr(0xC7).chr(0xCF) => chr(0xFA).chr(0xE4), chr(0x8F).chr(0xC7).chr(0xD9) => chr(0xFA).chr(0xE5), chr(0x8F).chr(0xF4).chr(0xCB) => chr(0xFA).chr(0xE6), chr(0x8F).chr(0xF4).chr(0xCC) => chr(0xFA).chr(0xE7), chr(0x8F).chr(0xC7).chr(0xE6) => chr(0xFA).chr(0xE8), chr(0x8F).chr(0xC7).chr(0xEE) => chr(0xFA).chr(0xE9), chr(0x8F).chr(0xC7).chr(0xFC) => chr(0xFA).chr(0xEA), chr(0x8F).chr(0xC7).chr(0xEB) => chr(0xFA).chr(0xEB), chr(0x8F).chr(0xC7).chr(0xF0) => chr(0xFA).chr(0xEC), chr(0x8F).chr(0xC8).chr(0xB1) => chr(0xFA).chr(0xED), chr(0x8F).chr(0xC8).chr(0xE5) => chr(0xFA).chr(0xEE), chr(0x8F).chr(0xC8).chr(0xF8) => chr(0xFA).chr(0xEF), chr(0x8F).chr(0xC9).chr(0xA6) => chr(0xFA).chr(0xF0), chr(0x8F).chr(0xC9).chr(0xAB) => chr(0xFA).chr(0xF1), chr(0x8F).chr(0xC9).chr(0xAD) => chr(0xFA).chr(0xF2), chr(0x8F).chr(0xF4).chr(0xCD) => chr(0xFA).chr(0xF3), chr(0x8F).chr(0xC9).chr(0xCA) => chr(0xFA).chr(0xF4), chr(0x8F).chr(0xC9).chr(0xD3) => chr(0xFA).chr(0xF5), chr(0x8F).chr(0xC9).chr(0xE9) => chr(0xFA).chr(0xF6), chr(0x8F).chr(0xC9).chr(0xE3) => chr(0xFA).chr(0xF7), chr(0x8F).chr(0xC9).chr(0xFC) => chr(0xFA).chr(0xF8), chr(0x8F).chr(0xC9).chr(0xF4) => chr(0xFA).chr(0xF9), chr(0x8F).chr(0xC9).chr(0xF5) => chr(0xFA).chr(0xFA), chr(0x8F).chr(0xF4).chr(0xCE) => chr(0xFA).chr(0xFB), chr(0x8F).chr(0xCA).chr(0xB3) => chr(0xFA).chr(0xFC), chr(0x8F).chr(0xCA).chr(0xBD) => chr(0xFA).chr(0xFD), chr(0x8F).chr(0xCA).chr(0xEF) => chr(0xFA).chr(0xFE), chr(0x8F).chr(0xCA).chr(0xF1) => chr(0xFB).chr(0xA1), chr(0x8F).chr(0xCB).chr(0xAE) => chr(0xFB).chr(0xA2), chr(0x8F).chr(0xF4).chr(0xCF) => chr(0xFB).chr(0xA3), chr(0x8F).chr(0xCB).chr(0xCA) => chr(0xFB).chr(0xA4), chr(0x8F).chr(0xCB).chr(0xE6) => chr(0xFB).chr(0xA5), chr(0x8F).chr(0xCB).chr(0xEA) => chr(0xFB).chr(0xA6), chr(0x8F).chr(0xCB).chr(0xF0) => chr(0xFB).chr(0xA7), chr(0x8F).chr(0xCB).chr(0xF4) => chr(0xFB).chr(0xA8), chr(0x8F).chr(0xCB).chr(0xEE) => chr(0xFB).chr(0xA9), chr(0x8F).chr(0xCC).chr(0xA5) => chr(0xFB).chr(0xAA), chr(0x8F).chr(0xCB).chr(0xF9) => chr(0xFB).chr(0xAB), chr(0x8F).chr(0xCC).chr(0xAB) => chr(0xFB).chr(0xAC), chr(0x8F).chr(0xCC).chr(0xAE) => chr(0xFB).chr(0xAD), chr(0x8F).chr(0xCC).chr(0xAD) => chr(0xFB).chr(0xAE), chr(0x8F).chr(0xCC).chr(0xB2) => chr(0xFB).chr(0xAF), chr(0x8F).chr(0xCC).chr(0xC2) => chr(0xFB).chr(0xB0), chr(0x8F).chr(0xCC).chr(0xD0) => chr(0xFB).chr(0xB1), chr(0x8F).chr(0xCC).chr(0xD9) => chr(0xFB).chr(0xB2), chr(0x8F).chr(0xF4).chr(0xD0) => chr(0xFB).chr(0xB3), chr(0x8F).chr(0xCD).chr(0xBB) => chr(0xFB).chr(0xB4), chr(0x8F).chr(0xF4).chr(0xD1) => chr(0xFB).chr(0xB5), chr(0x8F).chr(0xCE).chr(0xBB) => chr(0xFB).chr(0xB6), chr(0x8F).chr(0xF4).chr(0xD2) => chr(0xFB).chr(0xB7), chr(0x8F).chr(0xCE).chr(0xBA) => chr(0xFB).chr(0xB8), chr(0x8F).chr(0xCE).chr(0xC3) => chr(0xFB).chr(0xB9), chr(0x8F).chr(0xF4).chr(0xD3) => chr(0xFB).chr(0xBA), chr(0x8F).chr(0xCE).chr(0xF2) => chr(0xFB).chr(0xBB), chr(0x8F).chr(0xB3).chr(0xDD) => chr(0xFB).chr(0xBC), chr(0x8F).chr(0xCF).chr(0xD5) => chr(0xFB).chr(0xBD), chr(0x8F).chr(0xCF).chr(0xE2) => chr(0xFB).chr(0xBE), chr(0x8F).chr(0xCF).chr(0xE9) => chr(0xFB).chr(0xBF), chr(0x8F).chr(0xCF).chr(0xED) => chr(0xFB).chr(0xC0), chr(0x8F).chr(0xF4).chr(0xD4) => chr(0xFB).chr(0xC1), chr(0x8F).chr(0xF4).chr(0xD5) => chr(0xFB).chr(0xC2), chr(0x8F).chr(0xF4).chr(0xD6) => chr(0xFB).chr(0xC3), chr(0x8F).chr(0xF4).chr(0xD7) => chr(0xFB).chr(0xC4), chr(0x8F).chr(0xD0).chr(0xE5) => chr(0xFB).chr(0xC5), chr(0x8F).chr(0xF4).chr(0xD8) => chr(0xFB).chr(0xC6), chr(0x8F).chr(0xD0).chr(0xE9) => chr(0xFB).chr(0xC7), chr(0x8F).chr(0xD1).chr(0xE8) => chr(0xFB).chr(0xC8), chr(0x8F).chr(0xF4).chr(0xD9) => chr(0xFB).chr(0xC9), chr(0x8F).chr(0xF4).chr(0xDA) => chr(0xFB).chr(0xCA), chr(0x8F).chr(0xD1).chr(0xEC) => chr(0xFB).chr(0xCB), chr(0x8F).chr(0xD2).chr(0xBB) => chr(0xFB).chr(0xCC), chr(0x8F).chr(0xF4).chr(0xDB) => chr(0xFB).chr(0xCD), chr(0x8F).chr(0xD3).chr(0xE1) => chr(0xFB).chr(0xCE), chr(0x8F).chr(0xD3).chr(0xE8) => chr(0xFB).chr(0xCF), chr(0x8F).chr(0xD4).chr(0xA7) => chr(0xFB).chr(0xD0), chr(0x8F).chr(0xF4).chr(0xDC) => chr(0xFB).chr(0xD1), chr(0x8F).chr(0xF4).chr(0xDD) => chr(0xFB).chr(0xD2), chr(0x8F).chr(0xD4).chr(0xD4) => chr(0xFB).chr(0xD3), chr(0x8F).chr(0xD4).chr(0xF2) => chr(0xFB).chr(0xD4), chr(0x8F).chr(0xD5).chr(0xAE) => chr(0xFB).chr(0xD5), chr(0x8F).chr(0xF4).chr(0xDE) => chr(0xFB).chr(0xD6), chr(0x8F).chr(0xD7).chr(0xDE) => chr(0xFB).chr(0xD7), chr(0x8F).chr(0xF4).chr(0xDF) => chr(0xFB).chr(0xD8), chr(0x8F).chr(0xD8).chr(0xA2) => chr(0xFB).chr(0xD9), chr(0x8F).chr(0xD8).chr(0xB7) => chr(0xFB).chr(0xDA), chr(0x8F).chr(0xD8).chr(0xC1) => chr(0xFB).chr(0xDB), chr(0x8F).chr(0xD8).chr(0xD1) => chr(0xFB).chr(0xDC), chr(0x8F).chr(0xD8).chr(0xF4) => chr(0xFB).chr(0xDD), chr(0x8F).chr(0xD9).chr(0xC6) => chr(0xFB).chr(0xDE), chr(0x8F).chr(0xD9).chr(0xC8) => chr(0xFB).chr(0xDF), chr(0x8F).chr(0xD9).chr(0xD1) => chr(0xFB).chr(0xE0), chr(0x8F).chr(0xF4).chr(0xE0) => chr(0xFB).chr(0xE1), chr(0x8F).chr(0xF4).chr(0xE1) => chr(0xFB).chr(0xE2), chr(0x8F).chr(0xF4).chr(0xE2) => chr(0xFB).chr(0xE3), chr(0x8F).chr(0xF4).chr(0xE3) => chr(0xFB).chr(0xE4), chr(0x8F).chr(0xF4).chr(0xE4) => chr(0xFB).chr(0xE5), chr(0x8F).chr(0xDC).chr(0xD3) => chr(0xFB).chr(0xE6), chr(0x8F).chr(0xDD).chr(0xC8) => chr(0xFB).chr(0xE7), chr(0x8F).chr(0xDD).chr(0xD4) => chr(0xFB).chr(0xE8), chr(0x8F).chr(0xDD).chr(0xEA) => chr(0xFB).chr(0xE9), chr(0x8F).chr(0xDD).chr(0xFA) => chr(0xFB).chr(0xEA), chr(0x8F).chr(0xDE).chr(0xA4) => chr(0xFB).chr(0xEB), chr(0x8F).chr(0xDE).chr(0xB0) => chr(0xFB).chr(0xEC), chr(0x8F).chr(0xF4).chr(0xE5) => chr(0xFB).chr(0xED), chr(0x8F).chr(0xDE).chr(0xB5) => chr(0xFB).chr(0xEE), chr(0x8F).chr(0xDE).chr(0xCB) => chr(0xFB).chr(0xEF), chr(0x8F).chr(0xF4).chr(0xE6) => chr(0xFB).chr(0xF0), chr(0x8F).chr(0xDF).chr(0xB9) => chr(0xFB).chr(0xF1), chr(0x8F).chr(0xF4).chr(0xE7) => chr(0xFB).chr(0xF2), chr(0x8F).chr(0xDF).chr(0xC3) => chr(0xFB).chr(0xF3), chr(0x8F).chr(0xF4).chr(0xE8) => chr(0xFB).chr(0xF4), chr(0x8F).chr(0xF4).chr(0xE9) => chr(0xFB).chr(0xF5), chr(0x8F).chr(0xE0).chr(0xD9) => chr(0xFB).chr(0xF6), chr(0x8F).chr(0xF4).chr(0xEA) => chr(0xFB).chr(0xF7), chr(0x8F).chr(0xF4).chr(0xEB) => chr(0xFB).chr(0xF8), chr(0x8F).chr(0xE1).chr(0xE2) => chr(0xFB).chr(0xF9), chr(0x8F).chr(0xF4).chr(0xEC) => chr(0xFB).chr(0xFA), chr(0x8F).chr(0xF4).chr(0xED) => chr(0xFB).chr(0xFB), chr(0x8F).chr(0xF4).chr(0xEE) => chr(0xFB).chr(0xFC), chr(0x8F).chr(0xE2).chr(0xC7) => chr(0xFB).chr(0xFD), chr(0x8F).chr(0xE3).chr(0xA8) => chr(0xFB).chr(0xFE), chr(0x8F).chr(0xE3).chr(0xA6) => chr(0xFC).chr(0xA1), chr(0x8F).chr(0xE3).chr(0xA9) => chr(0xFC).chr(0xA2), chr(0x8F).chr(0xE3).chr(0xAF) => chr(0xFC).chr(0xA3), chr(0x8F).chr(0xE3).chr(0xB0) => chr(0xFC).chr(0xA4), chr(0x8F).chr(0xE3).chr(0xAA) => chr(0xFC).chr(0xA5), chr(0x8F).chr(0xE3).chr(0xAB) => chr(0xFC).chr(0xA6), chr(0x8F).chr(0xE3).chr(0xBC) => chr(0xFC).chr(0xA7), chr(0x8F).chr(0xE3).chr(0xC1) => chr(0xFC).chr(0xA8), chr(0x8F).chr(0xE3).chr(0xBF) => chr(0xFC).chr(0xA9), chr(0x8F).chr(0xE3).chr(0xD5) => chr(0xFC).chr(0xAA), chr(0x8F).chr(0xE3).chr(0xD8) => chr(0xFC).chr(0xAB), chr(0x8F).chr(0xE3).chr(0xD6) => chr(0xFC).chr(0xAC), chr(0x8F).chr(0xE3).chr(0xDF) => chr(0xFC).chr(0xAD), chr(0x8F).chr(0xE3).chr(0xE3) => chr(0xFC).chr(0xAE), chr(0x8F).chr(0xE3).chr(0xE1) => chr(0xFC).chr(0xAF), chr(0x8F).chr(0xE3).chr(0xD4) => chr(0xFC).chr(0xB0), chr(0x8F).chr(0xE3).chr(0xE9) => chr(0xFC).chr(0xB1), chr(0x8F).chr(0xE4).chr(0xA6) => chr(0xFC).chr(0xB2), chr(0x8F).chr(0xE3).chr(0xF1) => chr(0xFC).chr(0xB3), chr(0x8F).chr(0xE3).chr(0xF2) => chr(0xFC).chr(0xB4), chr(0x8F).chr(0xE4).chr(0xCB) => chr(0xFC).chr(0xB5), chr(0x8F).chr(0xE4).chr(0xC1) => chr(0xFC).chr(0xB6), chr(0x8F).chr(0xE4).chr(0xC3) => chr(0xFC).chr(0xB7), chr(0x8F).chr(0xE4).chr(0xBE) => chr(0xFC).chr(0xB8), chr(0x8F).chr(0xF4).chr(0xEF) => chr(0xFC).chr(0xB9), chr(0x8F).chr(0xE4).chr(0xC0) => chr(0xFC).chr(0xBA), chr(0x8F).chr(0xE4).chr(0xC7) => chr(0xFC).chr(0xBB), chr(0x8F).chr(0xE4).chr(0xBF) => chr(0xFC).chr(0xBC), chr(0x8F).chr(0xE4).chr(0xE0) => chr(0xFC).chr(0xBD), chr(0x8F).chr(0xE4).chr(0xDE) => chr(0xFC).chr(0xBE), chr(0x8F).chr(0xE4).chr(0xD1) => chr(0xFC).chr(0xBF), chr(0x8F).chr(0xF4).chr(0xF0) => chr(0xFC).chr(0xC0), chr(0x8F).chr(0xE4).chr(0xDC) => chr(0xFC).chr(0xC1), chr(0x8F).chr(0xE4).chr(0xD2) => chr(0xFC).chr(0xC2), chr(0x8F).chr(0xE4).chr(0xDB) => chr(0xFC).chr(0xC3), chr(0x8F).chr(0xE4).chr(0xD4) => chr(0xFC).chr(0xC4), chr(0x8F).chr(0xE4).chr(0xFA) => chr(0xFC).chr(0xC5), chr(0x8F).chr(0xE4).chr(0xEF) => chr(0xFC).chr(0xC6), chr(0x8F).chr(0xE5).chr(0xB3) => chr(0xFC).chr(0xC7), chr(0x8F).chr(0xE5).chr(0xBF) => chr(0xFC).chr(0xC8), chr(0x8F).chr(0xE5).chr(0xC9) => chr(0xFC).chr(0xC9), chr(0x8F).chr(0xE5).chr(0xD0) => chr(0xFC).chr(0xCA), chr(0x8F).chr(0xE5).chr(0xE2) => chr(0xFC).chr(0xCB), chr(0x8F).chr(0xE5).chr(0xEA) => chr(0xFC).chr(0xCC), chr(0x8F).chr(0xE5).chr(0xEB) => chr(0xFC).chr(0xCD), chr(0x8F).chr(0xF4).chr(0xF1) => chr(0xFC).chr(0xCE), chr(0x8F).chr(0xF4).chr(0xF2) => chr(0xFC).chr(0xCF), chr(0x8F).chr(0xF4).chr(0xF3) => chr(0xFC).chr(0xD0), chr(0x8F).chr(0xE6).chr(0xE8) => chr(0xFC).chr(0xD1), chr(0x8F).chr(0xE6).chr(0xEF) => chr(0xFC).chr(0xD2), chr(0x8F).chr(0xE7).chr(0xAC) => chr(0xFC).chr(0xD3), chr(0x8F).chr(0xF4).chr(0xF4) => chr(0xFC).chr(0xD4), chr(0x8F).chr(0xE7).chr(0xAE) => chr(0xFC).chr(0xD5), chr(0x8F).chr(0xF4).chr(0xF5) => chr(0xFC).chr(0xD6), chr(0x8F).chr(0xE7).chr(0xB1) => chr(0xFC).chr(0xD7), chr(0x8F).chr(0xF4).chr(0xF6) => chr(0xFC).chr(0xD8), chr(0x8F).chr(0xE7).chr(0xB2) => chr(0xFC).chr(0xD9), chr(0x8F).chr(0xE8).chr(0xB1) => chr(0xFC).chr(0xDA), chr(0x8F).chr(0xE8).chr(0xB6) => chr(0xFC).chr(0xDB), chr(0x8F).chr(0xF4).chr(0xF7) => chr(0xFC).chr(0xDC), chr(0x8F).chr(0xF4).chr(0xF8) => chr(0xFC).chr(0xDD), chr(0x8F).chr(0xE8).chr(0xDD) => chr(0xFC).chr(0xDE), chr(0x8F).chr(0xF4).chr(0xF9) => chr(0xFC).chr(0xDF), chr(0x8F).chr(0xF4).chr(0xFA) => chr(0xFC).chr(0xE0), chr(0x8F).chr(0xE9).chr(0xD1) => chr(0xFC).chr(0xE1), chr(0x8F).chr(0xF4).chr(0xFB) => chr(0xFC).chr(0xE2), chr(0x8F).chr(0xE9).chr(0xED) => chr(0xFC).chr(0xE3), chr(0x8F).chr(0xEA).chr(0xCD) => chr(0xFC).chr(0xE4), chr(0x8F).chr(0xF4).chr(0xFC) => chr(0xFC).chr(0xE5), chr(0x8F).chr(0xEA).chr(0xDB) => chr(0xFC).chr(0xE6), chr(0x8F).chr(0xEA).chr(0xE6) => chr(0xFC).chr(0xE7), chr(0x8F).chr(0xEA).chr(0xEA) => chr(0xFC).chr(0xE8), chr(0x8F).chr(0xEB).chr(0xA5) => chr(0xFC).chr(0xE9), chr(0x8F).chr(0xEB).chr(0xFB) => chr(0xFC).chr(0xEA), chr(0x8F).chr(0xEB).chr(0xFA) => chr(0xFC).chr(0xEB), chr(0x8F).chr(0xF4).chr(0xFD) => chr(0xFC).chr(0xEC), chr(0x8F).chr(0xEC).chr(0xD6) => chr(0xFC).chr(0xED), chr(0x8F).chr(0xF4).chr(0xFE) => chr(0xFC).chr(0xEE), chr(0x8F).chr(0xF3).chr(0xF3) => chr(0xFC).chr(0xF1), chr(0x8F).chr(0xF3).chr(0xF4) => chr(0xFC).chr(0xF2), chr(0x8F).chr(0xF3).chr(0xF5) => chr(0xFC).chr(0xF3), chr(0x8F).chr(0xF3).chr(0xF6) => chr(0xFC).chr(0xF4), chr(0x8F).chr(0xF3).chr(0xF7) => chr(0xFC).chr(0xF5), chr(0x8F).chr(0xF3).chr(0xF8) => chr(0xFC).chr(0xF6), chr(0x8F).chr(0xF3).chr(0xF9) => chr(0xFC).chr(0xF7), chr(0x8F).chr(0xF3).chr(0xFA) => chr(0xFC).chr(0xF8), chr(0x8F).chr(0xF3).chr(0xFB) => chr(0xFC).chr(0xF9), chr(0x8F).chr(0xF3).chr(0xFC) => chr(0xFC).chr(0xFA), chr(0x8F).chr(0xA2).chr(0xC3) => chr(0xFC).chr(0xFC), chr(0x8F).chr(0xF4).chr(0xA9) => chr(0xFC).chr(0xFD), chr(0x8F).chr(0xF4).chr(0xAA) => chr(0xFC).chr(0xFE), );
- php504
- ベストアンサー率42% (926/2160)
2/3 // CP51932 -> eucJP-win 変換用連想配列 // key:CP51932(NEC選定IBM拡張文字) value:eucJP-win(IBM拡張文字) $cp51932_and_eucjpwin = array( chr(0xF9).chr(0xA1) => chr(0x8F).chr(0xD4).chr(0xE3), chr(0xF9).chr(0xA2) => chr(0x8F).chr(0xDC).chr(0xDF), chr(0xF9).chr(0xA3) => chr(0x8F).chr(0xE4).chr(0xE9), chr(0xF9).chr(0xA4) => chr(0x8F).chr(0xE3).chr(0xF8), chr(0xF9).chr(0xA5) => chr(0x8F).chr(0xD9).chr(0xA1), chr(0xF9).chr(0xA6) => chr(0x8F).chr(0xB1).chr(0xBB), chr(0xF9).chr(0xA7) => chr(0x8F).chr(0xF4).chr(0xAE), chr(0xF9).chr(0xA8) => chr(0x8F).chr(0xC2).chr(0xAD), chr(0xF9).chr(0xA9) => chr(0x8F).chr(0xC3).chr(0xFC), chr(0xF9).chr(0xAA) => chr(0x8F).chr(0xE4).chr(0xD0), chr(0xF9).chr(0xAB) => chr(0x8F).chr(0xC2).chr(0xBF), chr(0xF9).chr(0xAC) => chr(0x8F).chr(0xBC).chr(0xF4), chr(0xF9).chr(0xAD) => chr(0x8F).chr(0xB0).chr(0xA9), chr(0xF9).chr(0xAE) => chr(0x8F).chr(0xB0).chr(0xC8), chr(0xF9).chr(0xAF) => chr(0x8F).chr(0xF4).chr(0xAF), chr(0xF9).chr(0xB0) => chr(0x8F).chr(0xB0).chr(0xD2), chr(0xF9).chr(0xB1) => chr(0x8F).chr(0xB0).chr(0xD4), chr(0xF9).chr(0xB2) => chr(0x8F).chr(0xB0).chr(0xE3), chr(0xF9).chr(0xB3) => chr(0x8F).chr(0xB0).chr(0xEE), chr(0xF9).chr(0xB4) => chr(0x8F).chr(0xB1).chr(0xA7), chr(0xF9).chr(0xB5) => chr(0x8F).chr(0xB1).chr(0xA3), chr(0xF9).chr(0xB6) => chr(0x8F).chr(0xB1).chr(0xAC), chr(0xF9).chr(0xB7) => chr(0x8F).chr(0xB1).chr(0xA9), chr(0xF9).chr(0xB8) => chr(0x8F).chr(0xB1).chr(0xBE), chr(0xF9).chr(0xB9) => chr(0x8F).chr(0xB1).chr(0xDF), chr(0xF9).chr(0xBA) => chr(0x8F).chr(0xB1).chr(0xD8), chr(0xF9).chr(0xBB) => chr(0x8F).chr(0xB1).chr(0xC8), chr(0xF9).chr(0xBC) => chr(0x8F).chr(0xB1).chr(0xD7), chr(0xF9).chr(0xBD) => chr(0x8F).chr(0xB1).chr(0xE3), chr(0xF9).chr(0xBE) => chr(0x8F).chr(0xB1).chr(0xF4), chr(0xF9).chr(0xBF) => chr(0x8F).chr(0xB1).chr(0xE1), chr(0xF9).chr(0xC0) => chr(0x8F).chr(0xB2).chr(0xA3), chr(0xF9).chr(0xC1) => chr(0x8F).chr(0xF4).chr(0xB0), chr(0xF9).chr(0xC2) => chr(0x8F).chr(0xB2).chr(0xBB), chr(0xF9).chr(0xC3) => chr(0x8F).chr(0xB2).chr(0xE6), chr(0xF9).chr(0xC4) => chr(0x8F).chr(0xB2).chr(0xED), chr(0xF9).chr(0xC5) => chr(0x8F).chr(0xB2).chr(0xF5), chr(0xF9).chr(0xC6) => chr(0x8F).chr(0xB2).chr(0xFC), chr(0xF9).chr(0xC7) => chr(0x8F).chr(0xF4).chr(0xB1), chr(0xF9).chr(0xC8) => chr(0x8F).chr(0xB3).chr(0xB5), chr(0xF9).chr(0xC9) => chr(0x8F).chr(0xB3).chr(0xD8), chr(0xF9).chr(0xCA) => chr(0x8F).chr(0xB3).chr(0xDB), chr(0xF9).chr(0xCB) => chr(0x8F).chr(0xB3).chr(0xE5), chr(0xF9).chr(0xCC) => chr(0x8F).chr(0xB3).chr(0xEE), chr(0xF9).chr(0xCD) => chr(0x8F).chr(0xB3).chr(0xFB), chr(0xF9).chr(0xCE) => chr(0x8F).chr(0xF4).chr(0xB2), chr(0xF9).chr(0xCF) => chr(0x8F).chr(0xF4).chr(0xB3), chr(0xF9).chr(0xD0) => chr(0x8F).chr(0xB4).chr(0xC0), chr(0xF9).chr(0xD1) => chr(0x8F).chr(0xB4).chr(0xC7), chr(0xF9).chr(0xD2) => chr(0x8F).chr(0xB4).chr(0xD0), chr(0xF9).chr(0xD3) => chr(0x8F).chr(0xB4).chr(0xDE), chr(0xF9).chr(0xD4) => chr(0x8F).chr(0xF4).chr(0xB4), chr(0xF9).chr(0xD5) => chr(0x8F).chr(0xB5).chr(0xAA), chr(0xF9).chr(0xD6) => chr(0x8F).chr(0xF4).chr(0xB5), chr(0xF9).chr(0xD7) => chr(0x8F).chr(0xB5).chr(0xAF), chr(0xF9).chr(0xD8) => chr(0x8F).chr(0xB5).chr(0xC4), chr(0xF9).chr(0xD9) => chr(0x8F).chr(0xB5).chr(0xE8), chr(0xF9).chr(0xDA) => chr(0x8F).chr(0xF4).chr(0xB6), chr(0xF9).chr(0xDB) => chr(0x8F).chr(0xB7).chr(0xC2), chr(0xF9).chr(0xDC) => chr(0x8F).chr(0xB7).chr(0xE4), chr(0xF9).chr(0xDD) => chr(0x8F).chr(0xB7).chr(0xE8), chr(0xF9).chr(0xDE) => chr(0x8F).chr(0xB7).chr(0xE7), chr(0xF9).chr(0xDF) => chr(0x8F).chr(0xF4).chr(0xB7), chr(0xF9).chr(0xE0) => chr(0x8F).chr(0xF4).chr(0xB8), chr(0xF9).chr(0xE1) => chr(0x8F).chr(0xF4).chr(0xB9), chr(0xF9).chr(0xE2) => chr(0x8F).chr(0xB8).chr(0xCE), chr(0xF9).chr(0xE3) => chr(0x8F).chr(0xB8).chr(0xE1), chr(0xF9).chr(0xE4) => chr(0x8F).chr(0xB8).chr(0xF5), chr(0xF9).chr(0xE5) => chr(0x8F).chr(0xB8).chr(0xF7), chr(0xF9).chr(0xE6) => chr(0x8F).chr(0xB8).chr(0xF8), chr(0xF9).chr(0xE7) => chr(0x8F).chr(0xB8).chr(0xFC), chr(0xF9).chr(0xE8) => chr(0x8F).chr(0xB9).chr(0xAF), chr(0xF9).chr(0xE9) => chr(0x8F).chr(0xB9).chr(0xB7), chr(0xF9).chr(0xEA) => chr(0x8F).chr(0xBA).chr(0xBE), chr(0xF9).chr(0xEB) => chr(0x8F).chr(0xBA).chr(0xDB), chr(0xF9).chr(0xEC) => chr(0x8F).chr(0xCD).chr(0xAA), chr(0xF9).chr(0xED) => chr(0x8F).chr(0xBA).chr(0xE1), chr(0xF9).chr(0xEE) => chr(0x8F).chr(0xF4).chr(0xBA), chr(0xF9).chr(0xEF) => chr(0x8F).chr(0xBA).chr(0xEB), chr(0xF9).chr(0xF0) => chr(0x8F).chr(0xBB).chr(0xB3), chr(0xF9).chr(0xF1) => chr(0x8F).chr(0xBB).chr(0xB8), chr(0xF9).chr(0xF2) => chr(0x8F).chr(0xF4).chr(0xBB), chr(0xF9).chr(0xF3) => chr(0x8F).chr(0xBB).chr(0xCA), chr(0xF9).chr(0xF4) => chr(0x8F).chr(0xF4).chr(0xBC), chr(0xF9).chr(0xF5) => chr(0x8F).chr(0xF4).chr(0xBD), chr(0xF9).chr(0xF6) => chr(0x8F).chr(0xBB).chr(0xD0), chr(0xF9).chr(0xF7) => chr(0x8F).chr(0xBB).chr(0xDE), chr(0xF9).chr(0xF8) => chr(0x8F).chr(0xBB).chr(0xF4), chr(0xF9).chr(0xF9) => chr(0x8F).chr(0xBB).chr(0xF5), chr(0xF9).chr(0xFA) => chr(0x8F).chr(0xBB).chr(0xF9), chr(0xF9).chr(0xFB) => chr(0x8F).chr(0xBC).chr(0xE4), chr(0xF9).chr(0xFC) => chr(0x8F).chr(0xBC).chr(0xED), chr(0xF9).chr(0xFD) => chr(0x8F).chr(0xBC).chr(0xFE), chr(0xF9).chr(0xFE) => chr(0x8F).chr(0xF4).chr(0xBE), chr(0xFA).chr(0xA1) => chr(0x8F).chr(0xBD).chr(0xC2), chr(0xFA).chr(0xA2) => chr(0x8F).chr(0xBD).chr(0xE7), chr(0xFA).chr(0xA3) => chr(0x8F).chr(0xF4).chr(0xBF), chr(0xFA).chr(0xA4) => chr(0x8F).chr(0xBD).chr(0xF0), chr(0xFA).chr(0xA5) => chr(0x8F).chr(0xBE).chr(0xB0), chr(0xFA).chr(0xA6) => chr(0x8F).chr(0xBE).chr(0xAC), chr(0xFA).chr(0xA7) => chr(0x8F).chr(0xF4).chr(0xC0), chr(0xFA).chr(0xA8) => chr(0x8F).chr(0xBE).chr(0xB3), chr(0xFA).chr(0xA9) => chr(0x8F).chr(0xBE).chr(0xBD), chr(0xFA).chr(0xAA) => chr(0x8F).chr(0xBE).chr(0xCD), chr(0xFA).chr(0xAB) => chr(0x8F).chr(0xBE).chr(0xC9), chr(0xFA).chr(0xAC) => chr(0x8F).chr(0xBE).chr(0xE4), chr(0xFA).chr(0xAD) => chr(0x8F).chr(0xBF).chr(0xA8), chr(0xFA).chr(0xAE) => chr(0x8F).chr(0xBF).chr(0xC9), chr(0xFA).chr(0xAF) => chr(0x8F).chr(0xC0).chr(0xC4), chr(0xFA).chr(0xB0) => chr(0x8F).chr(0xC0).chr(0xE4), chr(0xFA).chr(0xB1) => chr(0x8F).chr(0xC0).chr(0xF4), chr(0xFA).chr(0xB2) => chr(0x8F).chr(0xC1).chr(0xA6), chr(0xFA).chr(0xB3) => chr(0x8F).chr(0xF4).chr(0xC1), chr(0xFA).chr(0xB4) => chr(0x8F).chr(0xC1).chr(0xF5), chr(0xFA).chr(0xB5) => chr(0x8F).chr(0xC1).chr(0xFC), chr(0xFA).chr(0xB6) => chr(0x8F).chr(0xF4).chr(0xC2), chr(0xFA).chr(0xB7) => chr(0x8F).chr(0xC1).chr(0xF8), chr(0xFA).chr(0xB8) => chr(0x8F).chr(0xC2).chr(0xAB), chr(0xFA).chr(0xB9) => chr(0x8F).chr(0xC2).chr(0xA1), chr(0xFA).chr(0xBA) => chr(0x8F).chr(0xC2).chr(0xA5), chr(0xFA).chr(0xBB) => chr(0x8F).chr(0xF4).chr(0xC3), chr(0xFA).chr(0xBC) => chr(0x8F).chr(0xC2).chr(0xB8), chr(0xFA).chr(0xBD) => chr(0x8F).chr(0xC2).chr(0xBA), chr(0xFA).chr(0xBE) => chr(0x8F).chr(0xF4).chr(0xC4), chr(0xFA).chr(0xBF) => chr(0x8F).chr(0xC2).chr(0xC4), chr(0xFA).chr(0xC0) => chr(0x8F).chr(0xC2).chr(0xD2), chr(0xFA).chr(0xC1) => chr(0x8F).chr(0xC2).chr(0xD7), chr(0xFA).chr(0xC2) => chr(0x8F).chr(0xC2).chr(0xDB), chr(0xFA).chr(0xC3) => chr(0x8F).chr(0xC2).chr(0xDE), chr(0xFA).chr(0xC4) => chr(0x8F).chr(0xC2).chr(0xED), chr(0xFA).chr(0xC5) => chr(0x8F).chr(0xC2).chr(0xF0), chr(0xFA).chr(0xC6) => chr(0x8F).chr(0xF4).chr(0xC5), chr(0xFA).chr(0xC7) => chr(0x8F).chr(0xC3).chr(0xA1), chr(0xFA).chr(0xC8) => chr(0x8F).chr(0xC3).chr(0xB5), chr(0xFA).chr(0xC9) => chr(0x8F).chr(0xC3).chr(0xC9), chr(0xFA).chr(0xCA) => chr(0x8F).chr(0xC3).chr(0xB9), chr(0xFA).chr(0xCB) => chr(0x8F).chr(0xF4).chr(0xC6), chr(0xFA).chr(0xCC) => chr(0x8F).chr(0xC3).chr(0xD8), chr(0xFA).chr(0xCD) => chr(0x8F).chr(0xC3).chr(0xFE), chr(0xFA).chr(0xCE) => chr(0x8F).chr(0xF4).chr(0xC7), chr(0xFA).chr(0xCF) => chr(0x8F).chr(0xC4).chr(0xCC), chr(0xFA).chr(0xD0) => chr(0x8F).chr(0xF4).chr(0xC8), chr(0xFA).chr(0xD1) => chr(0x8F).chr(0xC4).chr(0xD9), chr(0xFA).chr(0xD2) => chr(0x8F).chr(0xC4).chr(0xEA), chr(0xFA).chr(0xD3) => chr(0x8F).chr(0xC4).chr(0xFD), chr(0xFA).chr(0xD4) => chr(0x8F).chr(0xF4).chr(0xC9), chr(0xFA).chr(0xD5) => chr(0x8F).chr(0xC5).chr(0xA7), chr(0xFA).chr(0xD6) => chr(0x8F).chr(0xC5).chr(0xB5), chr(0xFA).chr(0xD7) => chr(0x8F).chr(0xC5).chr(0xB6), chr(0xFA).chr(0xD8) => chr(0x8F).chr(0xF4).chr(0xCA), chr(0xFA).chr(0xD9) => chr(0x8F).chr(0xC5).chr(0xD5), chr(0xFA).chr(0xDA) => chr(0x8F).chr(0xC6).chr(0xB8), chr(0xFA).chr(0xDB) => chr(0x8F).chr(0xC6).chr(0xD7), chr(0xFA).chr(0xDC) => chr(0x8F).chr(0xC6).chr(0xE0), chr(0xFA).chr(0xDD) => chr(0x8F).chr(0xC6).chr(0xEA), chr(0xFA).chr(0xDE) => chr(0x8F).chr(0xC6).chr(0xE3), chr(0xFA).chr(0xDF) => chr(0x8F).chr(0xC7).chr(0xA1), chr(0xFA).chr(0xE0) => chr(0x8F).chr(0xC7).chr(0xAB), chr(0xFA).chr(0xE1) => chr(0x8F).chr(0xC7).chr(0xC7), chr(0xFA).chr(0xE2) => chr(0x8F).chr(0xC7).chr(0xC3), chr(0xFA).chr(0xE3) => chr(0x8F).chr(0xC7).chr(0xCB), chr(0xFA).chr(0xE4) => chr(0x8F).chr(0xC7).chr(0xCF), chr(0xFA).chr(0xE5) => chr(0x8F).chr(0xC7).chr(0xD9), chr(0xFA).chr(0xE6) => chr(0x8F).chr(0xF4).chr(0xCB), chr(0xFA).chr(0xE7) => chr(0x8F).chr(0xF4).chr(0xCC), chr(0xFA).chr(0xE8) => chr(0x8F).chr(0xC7).chr(0xE6), chr(0xFA).chr(0xE9) => chr(0x8F).chr(0xC7).chr(0xEE), chr(0xFA).chr(0xEA) => chr(0x8F).chr(0xC7).chr(0xFC), chr(0xFA).chr(0xEB) => chr(0x8F).chr(0xC7).chr(0xEB), chr(0xFA).chr(0xEC) => chr(0x8F).chr(0xC7).chr(0xF0), chr(0xFA).chr(0xED) => chr(0x8F).chr(0xC8).chr(0xB1), chr(0xFA).chr(0xEE) => chr(0x8F).chr(0xC8).chr(0xE5), chr(0xFA).chr(0xEF) => chr(0x8F).chr(0xC8).chr(0xF8), chr(0xFA).chr(0xF0) => chr(0x8F).chr(0xC9).chr(0xA6), chr(0xFA).chr(0xF1) => chr(0x8F).chr(0xC9).chr(0xAB), chr(0xFA).chr(0xF2) => chr(0x8F).chr(0xC9).chr(0xAD), chr(0xFA).chr(0xF3) => chr(0x8F).chr(0xF4).chr(0xCD), chr(0xFA).chr(0xF4) => chr(0x8F).chr(0xC9).chr(0xCA), chr(0xFA).chr(0xF5) => chr(0x8F).chr(0xC9).chr(0xD3), chr(0xFA).chr(0xF6) => chr(0x8F).chr(0xC9).chr(0xE9), chr(0xFA).chr(0xF7) => chr(0x8F).chr(0xC9).chr(0xE3), chr(0xFA).chr(0xF8) => chr(0x8F).chr(0xC9).chr(0xFC), chr(0xFA).chr(0xF9) => chr(0x8F).chr(0xC9).chr(0xF4), chr(0xFA).chr(0xFA) => chr(0x8F).chr(0xC9).chr(0xF5), chr(0xFA).chr(0xFB) => chr(0x8F).chr(0xF4).chr(0xCE), chr(0xFA).chr(0xFC) => chr(0x8F).chr(0xCA).chr(0xB3), chr(0xFA).chr(0xFD) => chr(0x8F).chr(0xCA).chr(0xBD), chr(0xFA).chr(0xFE) => chr(0x8F).chr(0xCA).chr(0xEF), chr(0xFB).chr(0xA1) => chr(0x8F).chr(0xCA).chr(0xF1), chr(0xFB).chr(0xA2) => chr(0x8F).chr(0xCB).chr(0xAE), chr(0xFB).chr(0xA3) => chr(0x8F).chr(0xF4).chr(0xCF), chr(0xFB).chr(0xA4) => chr(0x8F).chr(0xCB).chr(0xCA), chr(0xFB).chr(0xA5) => chr(0x8F).chr(0xCB).chr(0xE6), chr(0xFB).chr(0xA6) => chr(0x8F).chr(0xCB).chr(0xEA), chr(0xFB).chr(0xA7) => chr(0x8F).chr(0xCB).chr(0xF0), chr(0xFB).chr(0xA8) => chr(0x8F).chr(0xCB).chr(0xF4), chr(0xFB).chr(0xA9) => chr(0x8F).chr(0xCB).chr(0xEE), chr(0xFB).chr(0xAA) => chr(0x8F).chr(0xCC).chr(0xA5), chr(0xFB).chr(0xAB) => chr(0x8F).chr(0xCB).chr(0xF9), chr(0xFB).chr(0xAC) => chr(0x8F).chr(0xCC).chr(0xAB), chr(0xFB).chr(0xAD) => chr(0x8F).chr(0xCC).chr(0xAE), chr(0xFB).chr(0xAE) => chr(0x8F).chr(0xCC).chr(0xAD), chr(0xFB).chr(0xAF) => chr(0x8F).chr(0xCC).chr(0xB2), chr(0xFB).chr(0xB0) => chr(0x8F).chr(0xCC).chr(0xC2), chr(0xFB).chr(0xB1) => chr(0x8F).chr(0xCC).chr(0xD0), chr(0xFB).chr(0xB2) => chr(0x8F).chr(0xCC).chr(0xD9), chr(0xFB).chr(0xB3) => chr(0x8F).chr(0xF4).chr(0xD0), chr(0xFB).chr(0xB4) => chr(0x8F).chr(0xCD).chr(0xBB), chr(0xFB).chr(0xB5) => chr(0x8F).chr(0xF4).chr(0xD1), chr(0xFB).chr(0xB6) => chr(0x8F).chr(0xCE).chr(0xBB), chr(0xFB).chr(0xB7) => chr(0x8F).chr(0xF4).chr(0xD2), chr(0xFB).chr(0xB8) => chr(0x8F).chr(0xCE).chr(0xBA), chr(0xFB).chr(0xB9) => chr(0x8F).chr(0xCE).chr(0xC3), chr(0xFB).chr(0xBA) => chr(0x8F).chr(0xF4).chr(0xD3), chr(0xFB).chr(0xBB) => chr(0x8F).chr(0xCE).chr(0xF2), chr(0xFB).chr(0xBC) => chr(0x8F).chr(0xB3).chr(0xDD), chr(0xFB).chr(0xBD) => chr(0x8F).chr(0xCF).chr(0xD5), chr(0xFB).chr(0xBE) => chr(0x8F).chr(0xCF).chr(0xE2), chr(0xFB).chr(0xBF) => chr(0x8F).chr(0xCF).chr(0xE9), chr(0xFB).chr(0xC0) => chr(0x8F).chr(0xCF).chr(0xED), chr(0xFB).chr(0xC1) => chr(0x8F).chr(0xF4).chr(0xD4), chr(0xFB).chr(0xC2) => chr(0x8F).chr(0xF4).chr(0xD5), chr(0xFB).chr(0xC3) => chr(0x8F).chr(0xF4).chr(0xD6), chr(0xFB).chr(0xC4) => chr(0x8F).chr(0xF4).chr(0xD7), chr(0xFB).chr(0xC5) => chr(0x8F).chr(0xD0).chr(0xE5), chr(0xFB).chr(0xC6) => chr(0x8F).chr(0xF4).chr(0xD8), chr(0xFB).chr(0xC7) => chr(0x8F).chr(0xD0).chr(0xE9), chr(0xFB).chr(0xC8) => chr(0x8F).chr(0xD1).chr(0xE8), chr(0xFB).chr(0xC9) => chr(0x8F).chr(0xF4).chr(0xD9), chr(0xFB).chr(0xCA) => chr(0x8F).chr(0xF4).chr(0xDA), chr(0xFB).chr(0xCB) => chr(0x8F).chr(0xD1).chr(0xEC), chr(0xFB).chr(0xCC) => chr(0x8F).chr(0xD2).chr(0xBB), chr(0xFB).chr(0xCD) => chr(0x8F).chr(0xF4).chr(0xDB), chr(0xFB).chr(0xCE) => chr(0x8F).chr(0xD3).chr(0xE1), chr(0xFB).chr(0xCF) => chr(0x8F).chr(0xD3).chr(0xE8), chr(0xFB).chr(0xD0) => chr(0x8F).chr(0xD4).chr(0xA7), chr(0xFB).chr(0xD1) => chr(0x8F).chr(0xF4).chr(0xDC), chr(0xFB).chr(0xD2) => chr(0x8F).chr(0xF4).chr(0xDD), chr(0xFB).chr(0xD3) => chr(0x8F).chr(0xD4).chr(0xD4), chr(0xFB).chr(0xD4) => chr(0x8F).chr(0xD4).chr(0xF2), chr(0xFB).chr(0xD5) => chr(0x8F).chr(0xD5).chr(0xAE), chr(0xFB).chr(0xD6) => chr(0x8F).chr(0xF4).chr(0xDE), chr(0xFB).chr(0xD7) => chr(0x8F).chr(0xD7).chr(0xDE), chr(0xFB).chr(0xD8) => chr(0x8F).chr(0xF4).chr(0xDF), chr(0xFB).chr(0xD9) => chr(0x8F).chr(0xD8).chr(0xA2), chr(0xFB).chr(0xDA) => chr(0x8F).chr(0xD8).chr(0xB7), chr(0xFB).chr(0xDB) => chr(0x8F).chr(0xD8).chr(0xC1), chr(0xFB).chr(0xDC) => chr(0x8F).chr(0xD8).chr(0xD1), chr(0xFB).chr(0xDD) => chr(0x8F).chr(0xD8).chr(0xF4), chr(0xFB).chr(0xDE) => chr(0x8F).chr(0xD9).chr(0xC6), chr(0xFB).chr(0xDF) => chr(0x8F).chr(0xD9).chr(0xC8), chr(0xFB).chr(0xE0) => chr(0x8F).chr(0xD9).chr(0xD1), chr(0xFB).chr(0xE1) => chr(0x8F).chr(0xF4).chr(0xE0), chr(0xFB).chr(0xE2) => chr(0x8F).chr(0xF4).chr(0xE1), chr(0xFB).chr(0xE3) => chr(0x8F).chr(0xF4).chr(0xE2), chr(0xFB).chr(0xE4) => chr(0x8F).chr(0xF4).chr(0xE3), chr(0xFB).chr(0xE5) => chr(0x8F).chr(0xF4).chr(0xE4), chr(0xFB).chr(0xE6) => chr(0x8F).chr(0xDC).chr(0xD3), chr(0xFB).chr(0xE7) => chr(0x8F).chr(0xDD).chr(0xC8), chr(0xFB).chr(0xE8) => chr(0x8F).chr(0xDD).chr(0xD4), chr(0xFB).chr(0xE9) => chr(0x8F).chr(0xDD).chr(0xEA), chr(0xFB).chr(0xEA) => chr(0x8F).chr(0xDD).chr(0xFA), chr(0xFB).chr(0xEB) => chr(0x8F).chr(0xDE).chr(0xA4), chr(0xFB).chr(0xEC) => chr(0x8F).chr(0xDE).chr(0xB0), chr(0xFB).chr(0xED) => chr(0x8F).chr(0xF4).chr(0xE5), chr(0xFB).chr(0xEE) => chr(0x8F).chr(0xDE).chr(0xB5), chr(0xFB).chr(0xEF) => chr(0x8F).chr(0xDE).chr(0xCB), chr(0xFB).chr(0xF0) => chr(0x8F).chr(0xF4).chr(0xE6), chr(0xFB).chr(0xF1) => chr(0x8F).chr(0xDF).chr(0xB9), chr(0xFB).chr(0xF2) => chr(0x8F).chr(0xF4).chr(0xE7), chr(0xFB).chr(0xF3) => chr(0x8F).chr(0xDF).chr(0xC3), chr(0xFB).chr(0xF4) => chr(0x8F).chr(0xF4).chr(0xE8), chr(0xFB).chr(0xF5) => chr(0x8F).chr(0xF4).chr(0xE9), chr(0xFB).chr(0xF6) => chr(0x8F).chr(0xE0).chr(0xD9), chr(0xFB).chr(0xF7) => chr(0x8F).chr(0xF4).chr(0xEA), chr(0xFB).chr(0xF8) => chr(0x8F).chr(0xF4).chr(0xEB), chr(0xFB).chr(0xF9) => chr(0x8F).chr(0xE1).chr(0xE2), chr(0xFB).chr(0xFA) => chr(0x8F).chr(0xF4).chr(0xEC), chr(0xFB).chr(0xFB) => chr(0x8F).chr(0xF4).chr(0xED), chr(0xFB).chr(0xFC) => chr(0x8F).chr(0xF4).chr(0xEE), chr(0xFB).chr(0xFD) => chr(0x8F).chr(0xE2).chr(0xC7), chr(0xFB).chr(0xFE) => chr(0x8F).chr(0xE3).chr(0xA8), chr(0xFC).chr(0xA1) => chr(0x8F).chr(0xE3).chr(0xA6), chr(0xFC).chr(0xA2) => chr(0x8F).chr(0xE3).chr(0xA9), chr(0xFC).chr(0xA3) => chr(0x8F).chr(0xE3).chr(0xAF), chr(0xFC).chr(0xA4) => chr(0x8F).chr(0xE3).chr(0xB0), chr(0xFC).chr(0xA5) => chr(0x8F).chr(0xE3).chr(0xAA), chr(0xFC).chr(0xA6) => chr(0x8F).chr(0xE3).chr(0xAB), chr(0xFC).chr(0xA7) => chr(0x8F).chr(0xE3).chr(0xBC), chr(0xFC).chr(0xA8) => chr(0x8F).chr(0xE3).chr(0xC1), chr(0xFC).chr(0xA9) => chr(0x8F).chr(0xE3).chr(0xBF), chr(0xFC).chr(0xAA) => chr(0x8F).chr(0xE3).chr(0xD5), chr(0xFC).chr(0xAB) => chr(0x8F).chr(0xE3).chr(0xD8), chr(0xFC).chr(0xAC) => chr(0x8F).chr(0xE3).chr(0xD6), chr(0xFC).chr(0xAD) => chr(0x8F).chr(0xE3).chr(0xDF), chr(0xFC).chr(0xAE) => chr(0x8F).chr(0xE3).chr(0xE3), chr(0xFC).chr(0xAF) => chr(0x8F).chr(0xE3).chr(0xE1), chr(0xFC).chr(0xB0) => chr(0x8F).chr(0xE3).chr(0xD4), chr(0xFC).chr(0xB1) => chr(0x8F).chr(0xE3).chr(0xE9), chr(0xFC).chr(0xB2) => chr(0x8F).chr(0xE4).chr(0xA6), chr(0xFC).chr(0xB3) => chr(0x8F).chr(0xE3).chr(0xF1), chr(0xFC).chr(0xB4) => chr(0x8F).chr(0xE3).chr(0xF2), chr(0xFC).chr(0xB5) => chr(0x8F).chr(0xE4).chr(0xCB), chr(0xFC).chr(0xB6) => chr(0x8F).chr(0xE4).chr(0xC1), chr(0xFC).chr(0xB7) => chr(0x8F).chr(0xE4).chr(0xC3), chr(0xFC).chr(0xB8) => chr(0x8F).chr(0xE4).chr(0xBE), chr(0xFC).chr(0xB9) => chr(0x8F).chr(0xF4).chr(0xEF), chr(0xFC).chr(0xBA) => chr(0x8F).chr(0xE4).chr(0xC0), chr(0xFC).chr(0xBB) => chr(0x8F).chr(0xE4).chr(0xC7), chr(0xFC).chr(0xBC) => chr(0x8F).chr(0xE4).chr(0xBF), chr(0xFC).chr(0xBD) => chr(0x8F).chr(0xE4).chr(0xE0), chr(0xFC).chr(0xBE) => chr(0x8F).chr(0xE4).chr(0xDE), chr(0xFC).chr(0xBF) => chr(0x8F).chr(0xE4).chr(0xD1), chr(0xFC).chr(0xC0) => chr(0x8F).chr(0xF4).chr(0xF0), chr(0xFC).chr(0xC1) => chr(0x8F).chr(0xE4).chr(0xDC), chr(0xFC).chr(0xC2) => chr(0x8F).chr(0xE4).chr(0xD2), chr(0xFC).chr(0xC3) => chr(0x8F).chr(0xE4).chr(0xDB), chr(0xFC).chr(0xC4) => chr(0x8F).chr(0xE4).chr(0xD4), chr(0xFC).chr(0xC5) => chr(0x8F).chr(0xE4).chr(0xFA), chr(0xFC).chr(0xC6) => chr(0x8F).chr(0xE4).chr(0xEF), chr(0xFC).chr(0xC7) => chr(0x8F).chr(0xE5).chr(0xB3), chr(0xFC).chr(0xC8) => chr(0x8F).chr(0xE5).chr(0xBF), chr(0xFC).chr(0xC9) => chr(0x8F).chr(0xE5).chr(0xC9), chr(0xFC).chr(0xCA) => chr(0x8F).chr(0xE5).chr(0xD0), chr(0xFC).chr(0xCB) => chr(0x8F).chr(0xE5).chr(0xE2), chr(0xFC).chr(0xCC) => chr(0x8F).chr(0xE5).chr(0xEA), chr(0xFC).chr(0xCD) => chr(0x8F).chr(0xE5).chr(0xEB), chr(0xFC).chr(0xCE) => chr(0x8F).chr(0xF4).chr(0xF1), chr(0xFC).chr(0xCF) => chr(0x8F).chr(0xF4).chr(0xF2), chr(0xFC).chr(0xD0) => chr(0x8F).chr(0xF4).chr(0xF3), chr(0xFC).chr(0xD1) => chr(0x8F).chr(0xE6).chr(0xE8), chr(0xFC).chr(0xD2) => chr(0x8F).chr(0xE6).chr(0xEF), chr(0xFC).chr(0xD3) => chr(0x8F).chr(0xE7).chr(0xAC), chr(0xFC).chr(0xD4) => chr(0x8F).chr(0xF4).chr(0xF4), chr(0xFC).chr(0xD5) => chr(0x8F).chr(0xE7).chr(0xAE), chr(0xFC).chr(0xD6) => chr(0x8F).chr(0xF4).chr(0xF5), chr(0xFC).chr(0xD7) => chr(0x8F).chr(0xE7).chr(0xB1), chr(0xFC).chr(0xD8) => chr(0x8F).chr(0xF4).chr(0xF6), chr(0xFC).chr(0xD9) => chr(0x8F).chr(0xE7).chr(0xB2), chr(0xFC).chr(0xDA) => chr(0x8F).chr(0xE8).chr(0xB1), chr(0xFC).chr(0xDB) => chr(0x8F).chr(0xE8).chr(0xB6), chr(0xFC).chr(0xDC) => chr(0x8F).chr(0xF4).chr(0xF7), chr(0xFC).chr(0xDD) => chr(0x8F).chr(0xF4).chr(0xF8), chr(0xFC).chr(0xDE) => chr(0x8F).chr(0xE8).chr(0xDD), chr(0xFC).chr(0xDF) => chr(0x8F).chr(0xF4).chr(0xF9), chr(0xFC).chr(0xE0) => chr(0x8F).chr(0xF4).chr(0xFA), chr(0xFC).chr(0xE1) => chr(0x8F).chr(0xE9).chr(0xD1), chr(0xFC).chr(0xE2) => chr(0x8F).chr(0xF4).chr(0xFB), chr(0xFC).chr(0xE3) => chr(0x8F).chr(0xE9).chr(0xED), chr(0xFC).chr(0xE4) => chr(0x8F).chr(0xEA).chr(0xCD), chr(0xFC).chr(0xE5) => chr(0x8F).chr(0xF4).chr(0xFC), chr(0xFC).chr(0xE6) => chr(0x8F).chr(0xEA).chr(0xDB), chr(0xFC).chr(0xE7) => chr(0x8F).chr(0xEA).chr(0xE6), chr(0xFC).chr(0xE8) => chr(0x8F).chr(0xEA).chr(0xEA), chr(0xFC).chr(0xE9) => chr(0x8F).chr(0xEB).chr(0xA5), chr(0xFC).chr(0xEA) => chr(0x8F).chr(0xEB).chr(0xFB), chr(0xFC).chr(0xEB) => chr(0x8F).chr(0xEB).chr(0xFA), chr(0xFC).chr(0xEC) => chr(0x8F).chr(0xF4).chr(0xFD), chr(0xFC).chr(0xED) => chr(0x8F).chr(0xEC).chr(0xD6), chr(0xFC).chr(0xEE) => chr(0x8F).chr(0xF4).chr(0xFE), chr(0xFC).chr(0xF1) => chr(0x8F).chr(0xF3).chr(0xF3), chr(0xFC).chr(0xF2) => chr(0x8F).chr(0xF3).chr(0xF4), chr(0xFC).chr(0xF3) => chr(0x8F).chr(0xF3).chr(0xF5), chr(0xFC).chr(0xF4) => chr(0x8F).chr(0xF3).chr(0xF6), chr(0xFC).chr(0xF5) => chr(0x8F).chr(0xF3).chr(0xF7), chr(0xFC).chr(0xF6) => chr(0x8F).chr(0xF3).chr(0xF8), chr(0xFC).chr(0xF7) => chr(0x8F).chr(0xF3).chr(0xF9), chr(0xFC).chr(0xF8) => chr(0x8F).chr(0xF3).chr(0xFA), chr(0xFC).chr(0xF9) => chr(0x8F).chr(0xF3).chr(0xFB), chr(0xFC).chr(0xFA) => chr(0x8F).chr(0xF3).chr(0xFC), chr(0xFC).chr(0xFC) => chr(0x8F).chr(0xA2).chr(0xC3), chr(0xFC).chr(0xFD) => chr(0x8F).chr(0xF4).chr(0xA9), chr(0xFC).chr(0xFE) => chr(0x8F).chr(0xF4).chr(0xAA), );
- php504
- ベストアンサー率42% (926/2160)
いつどこで拾ったのか不明ですが以下のスクリプトがありました 1/3 <?php /* CP51932 (Windows 日本語EUCコードページ 51932) と eucJP-win の差異を 吸収するためのスクリプト cp51932.php 動作環境:UNIX系OS PHP 4.3.10以上推奨 (mbstring) (内部コードは eucJP-win を前提) 内容: CP51932のNEC選定IBM拡張文字(89区~92区)をeucJP-winのIBM拡張文字(115区~119区) にマッピングします。またはその逆も行います。 補足: PHPが出力するHTMLがeucJP-winでIEなどのWindowsブラウザからの入力をDBに書き込み、 同時に拡張文字を受け付ける時、さらにDBがEUCJPの場合、CP51932独自のマッピングで ある98区~92区とeucJP-winのIBM拡張文字がDBに混在してしまいます。 さらにeucJP-winなHTMLでIBM拡張文字を表示すると、windowsでCP51932のIBM拡張文字 領域?のフォントがないため、文字化けを起こします。 従って、 ・ブラウザに表示するときは、eucJP-winからCP51932へ変換する。 ・ブラウザから得た値をPHP内部で処理するためには、CP51932からeucJP-winへ変換する。 の2点を行うことで、文字化けを防ぐことができると考えました。 ただし、このスクリプトで CP51932 と書いているが、ただ拡張文字の対応をした だけなので、CP51932もどきと表現したほうがいいでしょう。 本来は、UNICODEを経由した変換をすべきですが、動けばいいし、面倒なので適当な作り になっています。 履歴: 2005/05/07 公開 2005/05/12 一部修正 */
どうも納得できないみたいね http://www2.theta.co.jp/kanji/browserecord.php?-lay=Form%20View&-action=browse&-recid=11068 いやだと言われても無い物は無い。 存在する方の文字で代用するかUTFに切り替えるかどちらか。
- php504
- ベストアンサー率42% (926/2160)
#3ですけどPHP4.4.4とPHP5.1.4で確認したら Unknown encoding "CP51932" でした。 自分で変換関数を作るとかしないとだめそう(探したらどこかにありそうなきもします。) ブラウザに表示しないのであればeucjp-winでも良いかもしれませんが
- php504
- ベストアンサー率42% (926/2160)
PHP5.2.3(Win32) で試したらCP51932が使えました。 $euc = mb_convert_encoding($sjis, "CP51932", "sjis-win");
- grumpy_the_dwarf
- ベストアンサー率48% (1628/3337)
mbstringでサポートされるエンコーディングの中に「Shift-JIS」と いうのは存在しないからかなぁとも思ったんですが、某所でエイリ アスが定義されてますね。 でも、Windows固有の機種依存文字を含むのならそれは厳密には Shift_JISではないので、SJIS-winとかWindows-31JとかCP932なんて いう、Windows固有のエンコーディングを指定して、eucJP-winに変 換してみてはいかがでしょう。
補足
grumpy_the_dwarfさん ご回答ありがとうございます。 $name = trans_input(mb_convert_encoding($data[1], "EUC- JP", "SJIS-win"), "KV"); $name = trans_input(mb_convert_encoding($data[1], "eucJP-win", "SJIS-win"), "KV"); などともやってみましたが、やっぱり文字化けは解消されませんでした。
EUCやShift-JISには無いものだから仕方ない UTF-8を使うしか。。。
補足
SAYKAさん ご回答ありがとうございます。 既に運用しているものなので、文字コードをUTF-8にするのは なるべく避けたいと思っております。
お礼
php504 さん、ご回答ありがとうございます。 とても参考になりました。 なんとか解決することができました。 ありがとうございました。