wood burning stoves 2.0
The moose likes Servlets and the fly likes UTF-8 encoding when building URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "UTF-8 encoding when building URL" Watch "UTF-8 encoding when building URL" New topic

UTF-8 encoding when building URL

Amund Frislie

Joined: Jan 25, 2002
Posts: 17
(Hope this is the correct address for this question).
I'm collecting parameters from a form (using Struts on Tomcat) to build a URL. The problem appears when special chars like '�', '�', '�', etc. are sent with the URL. I use DOMParser's parse method to retrieve an XML document from a server (connecting using the mentioned URL). Does anyone have a nice solution to this (apart from scanning the whole URL string and replace special chars)?
Thank you.
I agree. Here's the link: http://aspose.com/file-tools
subject: UTF-8 encoding when building URL
jQuery in Action, 3rd edition