XML encoding - handling foreign lang chars

wxdqz

New Member
My client application prompts the user for their full name. Since theuser could be in France, for instance, the name could have non-UScharacters.The name is wrapped in XML and sent to an ASP on my server where I:set xmldoc = createobject("msxml2.domdocument.3.0") 'uses msxml3.dllxmldoc.load(Request)But this gives the error:An invalid character was found in the text context.I tried specifying a processing instruction on the client to setthe encoding to "UTF-8" as the XML doc is built. Same error.Then I tried "UTF-16" and get the error:Switch from current encoding to specified encoding not supported.So, how do I handle these foreign language characters???Please email me: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->!
 
Back
Top