I have an App that writes "Unicode-encoded" hex escaped chars
to a file using:
sprintf(buf, "0x%x", test_string[i] & 0xFFFF);
write buf to file...
where test_string is a wchar_t
I now need to read this back into another app for rendering.
I am pretty sure I need to use sscanf, but I am not sure how to get it back into wchar_t format.
Any help would be greatly appreciated.