In UTF-8 the Euro is 0xE282AC otherwise the mapping between unicode and
UTF-8 in general is defined by RFC 2279.

christian
-- 
Christian Mallwitz INTERSHOP Communications Germany
Senior Technical Consultant phone: +49 3641 50 3453
 

> -----Original Message-----
> From: MARTIN Franck [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 08, 2002 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: intercepting the euro symbol from http request
> 
> 
> 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
> 

Reply via email to