exporting euro sign

54 views
Skip to first unread message

Edwin van de Koppel

unread,
Aug 12, 2011, 4:07:42 AM8/12/11
to gwt-table-to-excel
Hi,

I have been trying to export a GWT Flextable to Excel with values that
contain a euro sign, eg:

€ 1,202,123

It is represented as a string.

After exporting I get the following value in the Excel cell:

? 1,202,123

That was with the standard encoding. I have tried UTF-8 as well, but I
am getting the following:

€ 1,202,123

What am I doing wrong?

Francois Wauquier

unread,
Aug 13, 2011, 11:50:05 AM8/13/11
to gwt-table...@googlegroups.com
Hi
Use ISO 8859-15 or UTF-8 . (ISO 8859-1 does not encode the euro symbol)
The important thing is to keep the same encoding throught the initial page (xml itself and meta tag), your java code, and the gwt-table-to-excel servlet encoding configuration.
You can have a look here:
Let me know your progress.
Francois
Reply all
Reply to author
Forward
0 new messages