no_skill
asked on
How can i open a textfile as utf-8 in vb6
i want to convert a utf-8 encoded file to unicode, but when i open the source file via FileSystemObject.OpenTextF ile, the utf-8 encoded characters (ö,ä,ü,...) wont be loaded correct. (ö-> Ķ )
i think utf-8 encoding isn't recognised by filesystemobject.opentextf ile, but i found no other object for handling text files.
i could load it binary and convert to unicode, but i don't know how to convert utf-8 -> unicode manually.
oh: the source file is a xml file. loading via MSXML.DOMDocument works perfectly, but when i save it as UNICODE
(adding a preprocessor tag) i can't load it anymore.
i think utf-8 encoding isn't recognised by filesystemobject.opentextf
i could load it binary and convert to unicode, but i don't know how to convert utf-8 -> unicode manually.
oh: the source file is a xml file. loading via MSXML.DOMDocument works perfectly, but when i save it as UNICODE
(adding a preprocessor tag) i can't load it anymore.
why don't you load it using MSXML objects?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!