P
.paul.
how do i decode a byte array using getstring, if i don't know which encoding
was used to write it?
was used to write it?
was used to write it?
Mattias Sjögren said:That would be pretty hard to do if there's no BOM or other indicator.
You'd probably have to try to figure it out one way or another.
The Windows API offers the function IsTextUnicode which does some
guessing about whether or not a string is in a unicode format or not,
but it's not perfect.
Mattias
..paul. said:how do i decode a byte array using getstring, if i don't know which encoding
was used to write it?