Closed mgacc0 closed 6 years ago
@jmcnamara
This is the correct behavior in terms of terms of how Excel behaves. It encodes \r
to _x000D_
in the XML. \n
is stored as the character \n
.
However, it shouldn't be visible in Excel. Are you saying that it is?
Reading the OOXML specs, I've just discovered that this is the expected behaviour. It's a bug in LibreOffice Calc.
The symbols _x000D_ are not visible in Excel but they are visible in LibreOffice. Thanks.
When trying to write strings that contain newline symbols, they get translated to an hex representation.
For example:
The carriage return symbol gets converted to _x000D_. And the newline symbol gets converted to a blank space.
I'm not sure if this is caused by libxlsxwriter or by writexl.