相关代码 |
|
Use binary mode to open unicode files Use binary mode to open unicode files Posted by 小吴 on April 07, 1999 at 10:37:05: In Reply to: To Xiao Wu and all: Unicode... posted by wei on April 06, 1999 at 06:58:07: Unicode text file has 2-byte header: 0xFF, 0xFEIf you find the header, then you must use binary mode to open the file. For example:Open "C:\unicode.txt" For Binary As #1str = InputB$(LOF(1), 1)CLOSE #1 Follow Ups: