B
Bogdan
Hi,
In my app I get a text from a database that contains a degree sign (U+00B0,
Alt+176). The app is Unicode (i.e. all chars are wchar_t). What would be
a correct way to create an XML file with _wfopen() so a degree sign is
written properly.
I tried to _wfopen_s(&fp, "test.xml", "w") and fputws(str, fp) but the
resulting xml file was not of a correct format. That is, IE - for example -
complained that "An invalid character was found....".
Thanks,
Bogdan
In my app I get a text from a database that contains a degree sign (U+00B0,
Alt+176). The app is Unicode (i.e. all chars are wchar_t). What would be
a correct way to create an XML file with _wfopen() so a degree sign is
written properly.
I tried to _wfopen_s(&fp, "test.xml", "w") and fputws(str, fp) but the
resulting xml file was not of a correct format. That is, IE - for example -
complained that "An invalid character was found....".
Thanks,
Bogdan