I'm working on a program written in VB6 that outputs a few xml files.
Presently, the xml files are built up by simply writing text to a text file then saving as .xml
This has worked for many years wihtout a hitch.
Recently we have partnered with a company that wants to import our files but they must be encoded in UTF8.
I have read many articles found on EE and google but can't quite get my head around it all.
This link for example:
Shows some code to convert a string to UTF8, but the result I get is just a series of question marks and odd characters. The example UTF8 xml files the other company have provided show normal text in the xml file.
Should I be converting to UTF8, then back to a string ?
Obviously Im quite a novice when It comes to this, so any help is much appreciated.