I am trying to create a multilingual ASP site with support for ten different languages. I have placed the strings required to build the content for the site in individual xml files for each language. The format of these files is below:-
<?xml version="1.0" encoding="UTF-8" ?>
for each page I am storing the strings I need for that page and then using them when necessary using the following vb code
<%set xmlDoc = server.createObject("Microsoft.XMLDOM")
xmlDoc.async = false
AppName = xmlDoc.getElementsByTagName("LANG1")(0).text
This all works fine or the english language file, but when I try to read in anything from the chinese or japanese files (or even accented characters from european languages) the non-english characters display as question marks.
Can anyone explain why this happens and what I need to do to prevent it? The encoding on the web page and in the xml documents are both declared as utf-8, and viewing the documents in the browser displays all characters fine as well. Being quite new to XML I am stumped.