The Cambria Math font has UNICODE characters beyond 0xFFFF. You can see them in a Word document, just by inserting a Symbol and selecting the Cambria Math font. By the way, the Windows Character Map does not show these characters. My question is : how to exhibit those UNICODE characters in a Windows app using TextOut() ?
The Cambria Math font has UNICODE characters beyond 0xFFFF . You can see them
Share
To display these supplementary code points you need to use UTF-16 surrogate pairs.
A surrogate pair is a way of representing single code points beyond
0xFFFFas two wide characters. You simply pass a surrogate pair toTextOut()and it will be displayed.