Hello everyone,
I have a question for you.
I need to do some processing on a bunch of text files, using VB 6. I know that they are UTF-8 encoded files. I tried to read them using Scripting Runtime objects and methods, but only got garbage. I tried to use ADODB Stream object as I had found a few samples on that on the Internet, but with pretty much the same results.
Is there a way to read/convert these files and their contents to ASCII format so they could become readable?
I'm using VB6 running on machines with Win2K and WinXP SP1 if this is relevant to my problem.
There's one thing, that makes this even less understandable to me: when I copied a few of these files from our server to my machine at home, I was able to read them with regular FileSystemObject methods. I assume they kept their encoding intact because when I opened them in Notepad and tried to save them through File -> Save As, the Encoding combobox would display UTF-8 format as its "first choice".
I hope I explained it well.
So, any help will be greatly appreciated.
Thank you in advance.
I have a question for you.
I need to do some processing on a bunch of text files, using VB 6. I know that they are UTF-8 encoded files. I tried to read them using Scripting Runtime objects and methods, but only got garbage. I tried to use ADODB Stream object as I had found a few samples on that on the Internet, but with pretty much the same results.
Is there a way to read/convert these files and their contents to ASCII format so they could become readable?
I'm using VB6 running on machines with Win2K and WinXP SP1 if this is relevant to my problem.
There's one thing, that makes this even less understandable to me: when I copied a few of these files from our server to my machine at home, I was able to read them with regular FileSystemObject methods. I assume they kept their encoding intact because when I opened them in Notepad and tried to save them through File -> Save As, the Encoding combobox would display UTF-8 format as its "first choice".
I hope I explained it well.
So, any help will be greatly appreciated.
Thank you in advance.