精華區beta Programming 關於我們 聯絡資訊
用這幾個就搞定了 int mbtowc(wchar_t *pwc, const char *s, size_t n); size_t mbstowcs(wchar_t *pwcs, const char *s, size_t n); int wctomb(char *s, wchar_t wchar); size_t wcstombs(char *s, const wchar_t *pwcs, size_t n); ※ 引述《cloud318 (cloud318)》之銘言: : 我在 C 裡面輸入中文字 他會以Big5的方式存成 2 byte的數字 : 如 0xb3af (陳) 可是我想轉成 Unicode的字碼 (0x9673) : 請問有人知道該怎麼處理嘛? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.120.70.50