On Wed, 10 Aug 2011, Phill wrote:
In my XSSFWorkbook I'm trying to define a data format for British pounds
as follows: moneyCellStyle.setDataFormat(df.getFormat("£#,##0.00"));
In my Excel document the numbers are formatted correctly and the pound
sign is present but it is prefixed by an 'Å' character. e.g. Å£1,500.00
My hunch is that the encoding you're writing the pound sign into your
.java file, and the encoding that javac is expecting are different.
If you can correctly get the pound sign into java as a correct string, all
should be fine
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]