Displaying double byte characters
I'm working on support for a client. On some pages the client can dynamically create/edit forms and add them to a content page. Some of the pages, auto-fill text input fields with data after login. We receive an XML with the data and then fill the fields. The problem I'm having is that the client is international, and some of the XML data uses Japanese characters which I believe are double byte characters. The characters are correct/visible in the XML, but after we read them in and display them, the html input fields contain "?????" instead of said characters. I have already tried converting the strings by creating a new String and using getBytes("UTF-16"), but that isn't working. I have also tried setting the html charset to "UTF-16" in the Meta tag, but that breaks the page. Any suggestions?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread