Hi all,
I need to replace all special control character of a string in Java.
My need is for ask the google map api V3. And google doesn't seems to like this characters.
Example : http://www.google.com/maps/api/geocode/json?sensor=false&address=NEW%20YORK%C2%8F
This url contains this character : http://www.fileformat.info/info/unicode/char/008f/index.htm
So I receive some data, and I need to geocode this data. I know some character would not pass the geocoding, but I don't know the exact list.
I was not able to find any documentation about this issue, so I think the list of characters that google doesn't like is this one : http://www.fileformat.info/info/unicode/category/Cc/list.htm
Is there any already built function to get rid of this characters, or do I have to build a new one, with a replace one by one ?
Or is there a good regexp to do the job done ?
And is somebody know which is the exact list of characters google doesn't like ?
Thanks !!