Description: Lotus 1-2-3 encodes certain characters like "\r" and "\n". The general pattern appears to be /\x0F[\x20-\x2F]/, and the encoded character code is understood to be the low 4 bits of the second character. For example, "\x0F-" maps to "\r" and "\x0F*" maps to "\n" Steps to Reproduce: https://github.com/SheetJS/test_files/raw/master/crlf/CRLFR9.123 (download and open) Actual Results: Cell B1 is "abc-*def" Expected Results: Cell B1 is "abc\r\ndef" (or "abc\ndef" depending on LO newline normalization) Reproducible: Always User Profile Reset: Yes Additional Info:
Created attachment 180035 [details] sample file
Confirmed Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8ae84bb5566e12df64236a116b9d1889d6f5f052 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 9 January 2023