poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Stadler <dominik.stad...@gmx.at>
Subject Re: XSSFCell character encoding
Date Fri, 12 Jan 2018 12:34:03 GMT
This is the way how Excel encodes unicode characters here and thus POI
performs the same conversion as well, see
https://bz.apache.org/bugzilla/show_bug.cgi?id=57008#c8 for the related
issue and a longer explanation.

Dominik

On Jan 12, 2018 09:03, "Matthias Gerth" <matthias.gerth@avelon.ch> wrote:

Hi,

XSSFCell seems to encode certain character sequences as unicode characters.
How can I prevent this? Do I need to apply some kind of character escaping?

e.g.
cell.setCellValue("LUS_BO_WP_x24B8_AI"); // The cell value now is
„LUS_BO_WPⒸAI"

In Unicode Ⓒ is U+24B8

Regards
Matthias Gerth

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message