Re: Appending Unicode text?
The BOM is not automatically created.
You will have to write the it yourself at the begining of the file.
Re: Appending Unicode text?
Quote:
Originally Posted by
_Superman_
The BOM is not automatically created.
You will have to write the it yourself at the begining of the file.
Thanks for the reply. That's a bummer!
Re: Appending Unicode text?
Before opening, you can check whether the file exists. If it doesn't exist, you create it, write the BOM and close. Then you proceed with the rest of the your code.
Or you can create your own function, that does all that, and call it instead of each _wfopen call.