VB中用open input读取的文本文件怎么都是乱码?
vb吧
全部回复
仅看楼主
level 2
Open c:\ceshi.txt For Input As #f
Do While Not EOF(f)
On Error Resume Next
Line Input #f, NextLine
alltxt = alltxt & NextLine
Loop
Close #f
utf-8格式就乱码,有没处理方法?
还有这个怎么在读取的时候就识别到底是utf-8还是ansi的?
2014年11月29日 13点11分 1
1