poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61048] Newlines in cells not rendering with SXSSF
Date Tue, 08 Aug 2017 15:27:35 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61048

Ivan <aloe_@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from Ivan <aloe_@mail.ru> ---
I'm experiencing the same issue.

I can confirm that \r or \n\r does not help.

in XSSF \n is encoded as &#xa; - this is ignored on Mac 
in HSSF \n is presented as binary '0A' - this works as new line on Mac

if you open xls document generated by HSSF and save it as xlsx then you get
'0D0A' combination for line brakes that works on Mac.

But if I put \r\n in original string, then in XSSF I get '&#xa;&#xa;' (why both
\r and \n are converted to the same &#xa;?) which again ignored by Mac.

-----------------

BTW Can you suggest any workaround for now?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message