tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Montero" <da...@soin.co.cr>
Subject Re: Fmt:formatNumber and Euro symbol
Date Mon, 25 Aug 2003 20:47:20 GMT

Have you tried
<fmt:formatNumber value="${product.price}" minFractionDigits="2"
currencySymbol="&euro;" type="currency"/>

Hope this helps,
    danim

----- Original Message ----- 
From: "Carlos" <apache@cousas.net>
To: <taglibs-user@jakarta.apache.org>
Sent: Saturday, August 23, 2003 4:08 AM
Subject: Fmt:formatNumber and Euro symbol


> Hi
>
> I've tried to format a price in euros with
> <fmt:formatNumber value="${product.price}" type="currency"
> currencyCode="EUR"/>
> But instead of the euro symbol I get a question mark (?)
>
> I've tried to set the encoding ISO-8859-15 in many places
> - jsp page
> - jsp layout page
> - controller
> But none of them worked. Maybe I did it wrong, maybe that's not the
> solution?
>
> The workaround I had to wrote to get what I expected was:
> <fmt:formatNumber value="${product.price}" minFractionDigits="2"/> &euro;
> And this worked, but I think there shoould be a better solution
>
> Please help.
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>


Mime
View raw message