Re: Re: Problem with Euro symbol

2006-12-07 Thread Sam Gendler
I will look again at this problem at friday, and will debug into it to learn more - this is somewhat heavier because using jboss, so debugging isn't fun at all :( Did you ever figure out what was going on with your bug? I had similar problems a very long time ago (so I can't remember the exact

Re: Problem with Euro symbol

2006-12-05 Thread Ron Piterman
Sam Gendler wrote: > The symbol you are seeing is the symbol used to denote 'locale > specific currency symbol' in a format pattern. What is strange is > that if you don't have a symbol for that currency in your current > locale, you should get the ISO 3-letter code (EUR, in this case) > rather th

Re: Re: Problem with Euro symbol

2006-12-04 Thread Sam Gendler
The symbol you are seeing is the symbol used to denote 'locale specific currency symbol' in a format pattern. What is strange is that if you don't have a symbol for that currency in your current locale, you should get the ISO 3-letter code (EUR, in this case) rather than a euro symbol. Is it pos

Re: Problem with Euro symbol

2006-12-04 Thread Jesse Kuhnert
If you get to something more definitive let me know. I should probably take i18n issues very seriously considering the percentage of users/developers coming from countries not using english as the default native language. On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: not yet - there is no

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
not yet - there is no ajax/json involved :( but I will update and see... Cheers, Ron Jesse Kuhnert wrote: Not sure if you were bitten by the same encoding of ajax/json bug that others were from this weekends changes but a new release was just published that should fix any issues related to tha

Re: Problem with Euro symbol

2006-12-04 Thread Jesse Kuhnert
Not sure if you were bitten by the same encoding of ajax/json bug that others were from this weekends changes but a new release was just published that should fix any issues related to that. On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Thanx, but I am using: public Format getCurrencyForm

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
Thanx, but I am using: public Format getCurrencyFormat() { Locale l = getPage().getEngine().getLocale(); return new NumberTranslatorFormat( NumberFormat.getCurrencyInstance( l ) ); } the NumberTranslatorFormat is a custom format which devides or multiplies the numbers, but is delegating for

Re: Problem with Euro symbol

2006-12-04 Thread Christian Haselbach
Zitat von Ron Piterman <[EMAIL PROTECTED]>: > The € is comming from the java currency format object: > NumebrFormat.getCurrencyInstance(); Just a guess. You are using a number format without specifying the locale. Hence, the default locale for your platform is used which propably includes the enc

Re: Problem with Euro symbol

2006-12-04 Thread Andrea Chiumenti
mmm... NumebrFormat.getCurrencyInstance() Locale defaultLocale = new Locale("fr", "FR", "EURO"); NumberFormat nf = NumberFormat.getCurrencyInstance(defaultLocale); String formattedValue = nf.format(value); System.out.println(formattedValue); Try then . new String(formattedValue.getByt

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
When inside the template, the € symbol is rendered fine. strange thing... any idea ? Cheers, Ron Andrea Chiumenti wrote: is your java src in UTF-8 ? What if you hardcode € into your teplate ? does it correctly display ? and what if you put into java src public String getEuro() {return "€";}

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
The € is comming from the java currency format object: NumebrFormat.getCurrencyInstance(); Cheers, Ron Andrea Chiumenti wrote: is your java src in UTF-8 ? What if you hardcode € into your teplate ? does it correctly display ? and what if you put into java src public String getEuro() {return "€";

Re: Problem with Euro symbol

2006-12-04 Thread Andrea Chiumenti
is your java src in UTF-8 ? What if you hardcode € into your teplate ? does it correctly display ? and what if you put into java src public String getEuro() {return "€";} and then into ? On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Andrea Chiumenti wrote: > try ISO-8859-15, what happen

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
Andrea Chiumenti wrote: try ISO-8859-15, what happen ? nothing changes :( and is fomrat really what you have on src ? If so correct with format no, fomrat was just a typo in the posting. kiuma On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Hi all, I am using the currency form

Re: Problem with Euro symbol

2006-12-04 Thread Andrea Chiumenti
try ISO-8859-15, what happen ? and is fomrat really what you have on src ? If so correct with format kiuma On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Hi all, I am using the currency format is a java standard currency format, but the Euro symbol is not inserted properly so one gets