Hi,
I'm having trouble writing to a unicode file in Blitz.
Ok, as an example if I readbyte one character at a time from a unicode text file, and then create a new file and to the exact opposite. I successfully have a copy of the original unicode text file.
But if I try to modify the contents or create the same file again in code using the exact same ascii, it gets saved out as a normal text which makes things go corrupt.
Are there are any unusual things I should be aware about in Blitz's Read/Write file routines that could be causing this?
If I create an empty file it's always an ANSI text file, how can I create an empty Unicode file?
I think what I'm trying to look for is a WriteFile/WriteUnicodeFile function.
I'm having trouble writing to a unicode file in Blitz.
Ok, as an example if I readbyte one character at a time from a unicode text file, and then create a new file and to the exact opposite. I successfully have a copy of the original unicode text file.
But if I try to modify the contents or create the same file again in code using the exact same ascii, it gets saved out as a normal text which makes things go corrupt.
Are there are any unusual things I should be aware about in Blitz's Read/Write file routines that could be causing this?
If I create an empty file it's always an ANSI text file, how can I create an empty Unicode file?
I think what I'm trying to look for is a WriteFile/WriteUnicodeFile function.