struct IWNN_CHARSET { u16 charSetCnt; // Number of registrations wchar_t* from[NJ_MAX_CHARSET]; // Character before replacement wchar_t* to[NJ_MAX_CHARSET]; // Character after replacement };?
u16 charSetCnt | Number of registrations. Specifies the number of configured fuzzy-character patterns. |
wchar_t* from | Character before replacement. Specify one character for the character before replacement. Be sure to add a terminator at the end of the string. |
wchar_t* to | Character after replacement. Specify 1 to 3 characters for the character(s) after replacement. Be sure to add a terminator at the end of the string. |
const u8 HA_utf16BE[4]={0x30,0x6F,0x00,0x00}; // は const u8 BA_utf16BE[4]={0x30,0x70,0x00,0x00}; // ば const u8 PA_utf16BE[4]={0x30,0x71,0x00,0x00}; // ぱ static IWNN_CHARSET charSet = { 2, // charSetCnt {(wchar_t*)HA_utf16BE, (wchar_t*)HA_utf16BE, 0}, // from {(wchar_t*)BA_utf16BE, (wchar_t*)PA_utf16BE, 0}, // to }
CONFIDENTIAL