So I have standard C string:
char* name = \"Jakub\";
And I want to convert it to UTF-16. I figured out, that UTF-16 will be twice as lo
Why do you want to make your own Unicode conversion functionality when theres's existing C/C++ functions for this, like mbstowcs() which is included in .
If you still want to make your own stuff, then have a look at Unicode Consortium's open source code which can be found here:
Convert UTF-16 to UTF-8 under Windows and Linux, in C