So in other words if it's encoded differently i need a table that shows the mapping between unicode and UTF-8. Does anyone know if such a table exist?
Christian Mallwitz a écrit : > > But i can't figure out how to detect its presence within a parameter > > from the http request. I have tried to compare the caracters with > > '\u20AC' but it goes thru. I have tried to use the > > java.lang.Character.getNumericValue method but the euro has no numeric > > value. > > parameter on a URL are encoded using the encoding of the page containing the > URL. on Windows the euro wll be encoded as 0x80 (Windows 1252) or UTF-8 (3 > bytes - not sure what the correct value is) it will almost never show as > '\u20AC' > > christian