You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/08/08 15:27:35 UTC

[Bug 61048] Newlines in cells not rendering with SXSSF

https://bz.apache.org/bugzilla/show_bug.cgi?id=61048

Ivan <al...@mail.ru> changed:

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

--- Comment #4 from Ivan <al...@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