tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zze-JEANJEAN S ext FTRD/DMI/SOP" <sjeanjean....@rd.francetelecom.com>
Subject RE: Euro character in c:out
Date Wed, 09 Oct 2002 09:18:56 GMT
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>

Mime
View raw message