c - Windows CE UTF-16 encoding and "surrogates" -
according i've read here , there, windows ce using utf-16 (aka ucs-2) encoding strings.
with encoding character below 0xffff in unicode table can represented using single windows wchar_t, , on called "surrogate" can take 2 wchar_t single "symbol". right ?
now how windows handle these "surrogates" ? allow these "characters" take more single wchar_t ? in case there no way make sure n-th pair of bytes in n-th symbol right ? or "truncate" , treat each wchar_t separate symbol, cause symbols on 0xffff treated 2 different symbols ?
thank you. :)
Comments
Post a Comment