Well, here's another UNICODE problem!
I need to be able to read/write UNICODE text files.
I am being particularly lazy at the moment and just using CStdioFile::ReadString() which works fine with plain old ASCII, but spits the dummy with UNICODE files!
- yes my program is compiled with _UNICODE
- my OS is WinXP, and its configured correctly so I can see Japanese/Chinese etc.
So now the questions:
1) does anyone know if CStdioFile will cope with UNICODE text files?
2) does anyone know how to programmatically distinguish UNICODE files from ASCII text files?
Thanks for your help.
I need to be able to read/write UNICODE text files.
I am being particularly lazy at the moment and just using CStdioFile::ReadString() which works fine with plain old ASCII, but spits the dummy with UNICODE files!
- yes my program is compiled with _UNICODE
- my OS is WinXP, and its configured correctly so I can see Japanese/Chinese etc.
So now the questions:
1) does anyone know if CStdioFile will cope with UNICODE text files?
2) does anyone know how to programmatically distinguish UNICODE files from ASCII text files?
Thanks for your help.