Reading Unicode strings from SIL file (no BOM)
Posted: Wed Sep 10, 2008 7:22 pm
Hello,
I have a program which is manually reading and parsing an SIL file. Now we have added languages to it which contain unicode character sets. I'm having a problem reading the SIL file properly because there is no "Byte Order Marking" at the beginning of the file so I don't know if the strings are encoded and stored UTF8, UTF16, etc., in the SIL. Can you tell me how unicode strings are stored or encoded in an SIL file?
Thanks,
-Matt-
I have a program which is manually reading and parsing an SIL file. Now we have added languages to it which contain unicode character sets. I'm having a problem reading the SIL file properly because there is no "Byte Order Marking" at the beginning of the file so I don't know if the strings are encoded and stored UTF8, UTF16, etc., in the SIL. Can you tell me how unicode strings are stored or encoded in an SIL file?
Thanks,
-Matt-