https://bugs.documentfoundation.org/show_bug.cgi?id=160278
--- Comment #5 from Adomas VenΔkauskas <[email protected]> --- Here is the modified starter project which showcases the bug https://github.com/adomasven/libreoffice-java-unicode-bug Install the project (https://github.com/adomasven/libreoffice-java-unicode-bug/raw/master/dist/StarterProject.oxt), then from LibreOffice menu run Starter Project -> Action One. The relevant code is here https://github.com/adomasven/libreoffice-java-unicode-bug/commit/26e8531287f9f97ad886f7aef30c31ce909bf44f#diff-901f25d906d0499701765e181379a0b21f46448afcc45467f12afaaa361cf10eR72 You should make sure your writer document contains some text (is not empty). The code: 1. Creates a text range on the final character of the text 2. Replaces it with string "π". 3. Replaces it with string "text". The expected result: The last character of the text is replaced with "text" The actual result: The last two characters of the text are replaced with "text". -- You are receiving this mail because: You are the assignee for the bug.
