Hi,
In my application I'm writing stuff to a file.
I start with writting a Unicode header with FileWrite (il_fileHandle, "~hFF~hFE" ) before writting anything else to the file.
Now we found that if we change the language to for example Hungarian or Korean the characters FF and FE end up in the file as different characters. (for Korean: 79 A9).
How can I get the unicode header in the file when these languages are selected?
Short overview:
FileOpen (aFile, StreamMode!, Write!, LockWrite!, Append!)
lblb_text = Blob ( as_text ,EncodingUTF16LE!)
FileWrite (il_fileHandle, "~hFF~hFE" ) //Unicode header
FileWrite (il_fileHandle, lblb_text)
FileClose (il_fileHandle)
Thanks
Coretta, NL
In my application I'm writing stuff to a file.
I start with writting a Unicode header with FileWrite (il_fileHandle, "~hFF~hFE" ) before writting anything else to the file.
Now we found that if we change the language to for example Hungarian or Korean the characters FF and FE end up in the file as different characters. (for Korean: 79 A9).
How can I get the unicode header in the file when these languages are selected?
Short overview:
FileOpen (aFile, StreamMode!, Write!, LockWrite!, Append!)
lblb_text = Blob ( as_text ,EncodingUTF16LE!)
FileWrite (il_fileHandle, "~hFF~hFE" ) //Unicode header
FileWrite (il_fileHandle, lblb_text)
FileClose (il_fileHandle)
Thanks
Coretta, NL