https://bugs.documentfoundation.org/show_bug.cgi?id=158938
Bug ID: 158938 Summary: Writer loses page break character (0x0C) when utf-8 file is saved. Product: LibreOffice Version: 7.6.4.1 release Hardware: x86-64 (AMD64) OS: Windows (All) Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: mxav1...@gmail.com Hi there, It seems page break is lost when saving as UTF-8 file in both possible situations:- 1. Page break is already in existing file (open as encoding UTF-8) text file. 2. When inserting a page break from menu using Alt-I and selecting page break (or CTRL+ENTER). Before saving it shows page break properly as it should. However after saving the file (again as text but choosing encoding of UTF-8) or even via save as. It appears that page breaks are converted to CR LF pair of 0x0D and 0x0A when it is saved. It is reproducible at will. Just create a blank document, type test1, insert page break from the insert menu or using CTRL+Enter , type in next line test2 and enter another page break. After saving this file as text with encoding of UTF-8, and reopening will no longer have page breaks; instead it will display additional blank lines. It looks like this matches with BUG ID: 116573, 130238, 155722 though in my case it is not an RTF file but UTF-8 text file mixed with multilingual sentences from two three languages. -- You are receiving this mail because: You are the assignee for the bug.