poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phill <ph...@inversebit.com>
Subject Encoding issues with currency symbol in data format
Date Wed, 10 Aug 2011 07:35:57 GMT
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

Do I need to explicitly need to set an encoding somewhere or should this automatically be
handled by POI?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message