tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Sabourdin <sabour...@yahoo.com>
Subject Re: EURO symbol support / Problems with Locale
Date Thu, 20 Jul 2000 14:03:10 GMT
It might be a probleme in your font?
otherwise, the euro symbol is not yet implement
in the Java internationalisation (bad boys!)
;-)
--- "NINA.de Internet Service Agentur"
<technik@nina.de> a écrit : > Does Tomcat 3.1
support the EURO symbol ?
> 
> My configuration:
> 
> Redhat 6.1
> IBM JDK 1.1.8-3.0 for Linux
> Tomcat 3.1
> 
> In a methode i want to return a currency
> formatted string:
> 
> code part:
> ***************************************
> 
> return
> java.text.NumberFormat.getCurrencyInstance(
>     new Locale(
>             this.getLanguageCode(),
>             this.getCountryCode()
>             )
>         ).format(aValue *
> this.getCurrentEuroFactor() /
> this.getEuroFactor());
> 
> ***********************************************
> 
> It works correct for all locales (example:
> this.setLanguageCode("en") ;
> this.setCountryCode("US") --> $1,508.00),
> but not for the EURO symbol (example:
> this.setLanguageCode("de") ;
> this.setCountryCode("DE_EURO") --> 1.280,50 ?).
> It returns allways a '?' symbol instead of the
> EURO symbol.
> 
> The same result with IBM JDK 1.3-1.0 for Linux.
> 
> Any ideas ?
> 
> With best regards, Ralf.
> 
> 
> Ralf Zimmerer
> technik@nina.de
> 


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message