https://bugs.documentfoundation.org/show_bug.cgi?id=160278

            Bug ID: 160278
           Summary: XTextRange.setString("𝜇") or any other 32-bit Unicode
                    character breaks the range
           Product: LibreOffice
           Version: 24.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
We have encountered a bug in the Zotero plugin where setting the string on a
range with 32-bit Unicode characters, such as "𝜇" or "🔒" breaks the range. If
you call `range.getString()`, it will return a string that is extended beyond
the one that was set, increasing the length by 1 at the start of the range for
every 32-bit encoded character.

Steps to Reproduce:
1. Create a range with a Java plugin
2. Call `range.setString("🔒")`

Actual Results:
The range start and end, as well as string is incorrectly reported

Expected Results:
The range should be correctly reported.


Reproducible: Always


User Profile Reset: No

Additional Info:
N/A

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to