I have a VB
program that takes an XML document and transforms it using XSLT into JSP and sends it via an HTTP Post to a java servlet running on a web server within Websphere. I use a VB
xmlhttpServer object to do the post. I do not specify a charset in the content header. My code has worked great for a long time as all the xml entries were in English. The JSP coming out is in a well-formed XML format (using jsp:directive, etc.) I now have users in German.
Initially they needed to send lowercase umlaut characters. They always showed up fine in the XML and the output JSP. The output JSP, however, would run in a browser and I needed to specify a content-type on the jsp:directive.page tag with a charset=UTF-8 and the lowercase German umlaut characters displayed fine.
Now, uppercase German umlauts have been added and they are not making it thru the HTTP post correctly. They look fine in the XML and even in the output JSP that is written to a log (not sent thru http). However, once the JSP is sent out over the HTTP via a POST, they display as funny characters on the web server. How do I get them to display correctly? I know it is a matter of proper encoding. Whould it be on the HTTP post, the XML file, the XSLT file, or the output JSP? SHould I use UTF-16, UTF-8, or ISO-8859-1? How come lowercase umlauts worked and not uppercase? ANy help appreciated!