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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -