tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Mannai <roberto.man...@poste.it>
Subject Re: Euro character in c:out
Date Wed, 09 Oct 2002 09:27:10 GMT
Probably, euro symbol is stored with an erroneous encoding in DB, or again
is
matter of flat file's encoding.


----- Original Message -----
From: "zze-JEANJEAN S ext FTRD/DMI/SOP" <sjeanjean.ext@rd.francetelecom.com>
To: "Tag Libraries Users List" <taglibs-user@jakarta.apache.org>
Sent: Wednesday, October 09, 2002 11:18 AM
Subject: RE: Euro character in c:out


> Hi all,
>
> My problem seems to be a problem with my database. If I write directly in
the JSP the euro symbol, there is no problem, but if I get it from the mysql
database the ? appears :( So no problem with the tag lib !
>
> Thanks
>
> Stéphane
>
>
>
> -----Message d'origine-----
> De : Roberto Mannai [mailto:roberto.mannai@poste.it]
> Envoyé : vendredi 4 octobre 2002 10:27
> À : Tag Libraries Users List
> Objet : Re: Euro character in c:out
>
>
> (Same message in unicode format; note the '€')
>
>
> > It is not a problem of trasmission encoding (contentType="text/html;
> > charset=ISO-8859-1" ), but _source file_ encoding, in your IDE. If you
> > generate a html page, you can use entity &euro; , but in general, you
> should
> > write 'u\20AC', euro's unicode encoding.
> > (see http://www.unicode.org/Public/UNIDATA/DerivedAge.txt)
> >
> > Finally, this works:
> >
> > <%@ page contentType="text/html; charset=ISO-8859-15" %>
> > <html>
> > <head><title>Euro Symbol</title></head>
> > <body>
> > <%="This works: \u20AC"+" <br>  This do not: €"%>
> > </body>
> > </html>
> >
> > ciao
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message