I wrote some chinese words in NOTEPAD, then save as UTF-8 coding.
When I open it in VB, all of chinese words changed to wrong chars, can't read.
I must save it as UTF-8 coding.
Please help me , I will thank you !
---------------------------------------VB Code:
Dim FileHandle As Integer Dim Contents As String FileHandle = FreeFile Open filename For Binary As #FileHandle Contents = Input(LOF(FileHandle), #FileHandle) & vbCrLf Close #FileHandle LoadFileEx = Contents
我在一个记事本中输入一些中文后保存为UTF-8编码文档,
我在VB中打开他的时候,中文都变成乱码了,不能阅读。
必须保存为UTF-8编码
请帮助我,谢谢。




