You can simply insert the 16-bit hexadecimal codes into a UNICODE string literal by escaping them with "\x" (provided that your project is built for UNICODE):Originally Posted by Bob H
Code:LPCTSTR str = _T("Some text: \x00C4\x00D6\x00DC");
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |