ISO-8859-1 does not contain the € symbol. You might want to switch to ISO-8859-15 or UTF-8 If this is not possible you can give the € entity a try.
More information around the euro symbol can be found here: http://www.cs.tut.fi/~jkorpela/html/euro.html Regards, Markus On Thu, Feb 26, 2009 at 6:22 PM, Reinhold Gruber <[email protected]> wrote: > Hi! > > MarkupWriter replaces € with an ? if ISO-8859-1 HTML output is configured via > configuration.add(SymbolConstants.CHARSET, "ISO-8859-1"); > > public class Test { > > �...@beginrender > public void render(MarkupWriter writer) { > String money = > NumberFormat.getCurrencyInstance(java.util.Locale.GERMANY).format(1.0); > writer.write(money); > writer.writeRaw(money); > } > } > > produces > > 1,00 ?1,00 ? > > Does anybody knows a workaround? > > Thanks > > > Reinhold Gruber > Software Development > ___________________________________________________ > > Deltavista GmbH > Diefenbachgasse 35; A-1150 Wien > Firmenbuchgericht und -nummer: Handelsgericht Wien, 200570g > Sitz der Gesellschaft: Wien > DVR: 1062107 > http://www.deltavista.com <http://www.deltavista.com/> > > Tel: +43 1 897 42 44 17 > Fax: +43 1 897 42 44 31 > mailto:[email protected] <mailto:[email protected]> > ___________________________________________________ > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
