File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes URL encoding problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "URL encoding problem" Watch "URL encoding problem" New topic

URL encoding problem

Dean Pullen
Ranch Hand

Joined: May 30, 2003
Posts: 58
We've sent out a bunch of emails with an auto login feature.
Some of the usernames have German ASCII characters like � in 'P�per'.

It seems firefox will auto-correct this to %E4 and IE seems to do random things!

Trying to decode this using a UTF-8 decoder simply doesn't work - it just returns 'Pper' from the original 'P%E4per'.

Oddly, the automatic encoding of Japanese text seems to work fine, but these characters are just causing a complete headache within a URL.

Is there anything I can do to translate this back into ASII or UTF-8?
I agree. Here's the link:
subject: URL encoding problem
It's not a secret anymore!