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 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 formatting to the given
CurrencyFormat.

:(

Cheers,
Ron



Christian Haselbach wrote:
> 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 encoding latin9. The code
> which denotes the euro symbol in latin9 denotes the currency
> symbol in latin1 and (IIRC) in UTF-8. Thus, you see the currency
> symbol, not the expected euro symbol.
>
> Regards,
> Christian.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to