|
-
Sep 12th, 2009, 11:15 PM
#2
Re: Loading a unicode text file
The VB6 native file I/O statements are limited to handling files encoded in "ANSI" using the current locale setting.
Look up the ADO Stream object. It can be loaded from disk and read line by line in text mode. It will handle files in ASCII, UTF-16, UTF-8, whatever. It defaults to "Unicode" (UTF-16).
You could also read such a file using the FSO, but it is limited to ASCII and Unicode (UTF-16).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|