tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <>
Subject Re: Character encoding
Date Wed, 18 Jun 2008 15:34:18 GMT

----- Original Message ----- 
From: "André Warnier" <>

> Could you give an example of such a UTF-8 encoded URI ?
> (and tell us what it should be decoded to)
> Thanks

Andre have a look here... its not url encoding, thats something different
It about being able to store japanese and typically trying to match it all 
with the dB's encoding.

Heres some1's explanation of encoding history and why UTF8 is a good 

And here is a typical solution on TC's wiki

And in the real world it gets hectic ;)

Like in Netbeans if you dont put this in Opts
You not seeing Japanese in your editor... and it wont save the files as UTF 

Then you think cool... until you find out you can stand on your head and a 
property file will not encode in UTF 8...

Then you may have some lib that converts back to ASCII and you cant figure 
it out...
Its a headache... but necessary... Java actually does a pretty good job of 
things in String just by default, but if you look at all the options you 
going to find the whole encoding thing going on there as well.

Then you try just the <%@ page contentType and its perfect, next project for 
some unknown reason you got to do the old fashioned meta tag in the web 
pages as well....

.... fun stuff ;) 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message