I want to write unicode strings into a unicode file, whereby the strings themselves have been read from another unicode file. The problem is that the end of the string (0dh 00h 0ah 00h) is never written correctly.
fputws writes 0d 0a 00 0d 0a 00 instead and
fwprintf writes 0d 0a
In both cases the file cannot be read correctly afterwards.
How can I use the procedures correctly? (I am using Microsoft Windows 2000 (german) and Microsoft Visual C++ 6.0)
fputws writes 0d 0a 00 0d 0a 00 instead and
fwprintf writes 0d 0a
In both cases the file cannot be read correctly afterwards.
How can I use the procedures correctly? (I am using Microsoft Windows 2000 (german) and Microsoft Visual C++ 6.0)