Setting the Locale for <f:convertNumber>
843842Oct 12 2005 — edited Jul 24 2006I'm using <f:convertNumber> to format currency values pulled from a database. I've set the default locale in one of my config files, managed-beans.xml (this project started out in Studio Creator) as follows
<application>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
</application>
However, the formatting appears with a symbol I don't recognize instead of the US dollar sign. I've also tried using the locale attribute of the tag but it still renders strangely.
<f:convertNumber type="currency" locale="US"/>
This is what is outputted to the screen:
�1,852.40
What am I missing?
Thanks!