To use the
L_big multibytetowidechar (950, 0, 1, li_string, l_size)
Widechartomultibyte (936, l_null li_string, 1, lr_string, l_size, null, null)
Using the
LCMapString (2052, LCMAP_SIMPLIFIED_CHINESE li_string, 1, l_return, len (trim (li_string)))
Under the traditional XP
To use the
L_big multibytetowidechar (936, 0, 1, li_string, l_size)
Widechartomultibyte (950, l_null li_string, 1, lr_string, l_size, null, null)
Using the
LCMapString (1028, LCMAP_TRADITIONAL_CHINESE li_string, 1, l_return, len (trim (li_string)))
Simplified under XP can successfully transform traditional characters into simplified Chinese, traditional is under XP will not be able to convert simplified characters to the traditional, ask everybody to give directions,
CodePudding user response:
I used to be so, you tryIf the simplified then
LCMapString (2052, LCMAP_TRADITIONAL_CHINESE as_data, 1, ls_target, ll_len)
The else
LCMapString (2052, LCMAP_SIMPLIFIED_CHINESE as_data, 1, ls_target, ll_len)
end if