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

--- Comment #13 from Baole Fang <[email protected]> ---
The issue is caused by u_charType recognizes character "ि" as
U_COMBINING_SPACING_MARK, where cclass_Unicode::getCharType returns
BASE_FORM|PRINTABLE [1]. It is not considered as LetterNumeric by [2], so "ि" is
considered as a word seperator by [3].


[1]
https://cgit.freedesktop.org/libreoffice/core/tree/i18npool/source/characterclassification/cclass_unicode.cxx#:~:text=return%20BASE_FORM%7CPRINTABLE%3B
[2]
https://cgit.freedesktop.org/libreoffice/core/tree/unotools/source/i18n/charclass.cxx#:~:text=bool%20CharClass%3A%3AisLetterNumeric(%20const%20OUString%26%20rStr%2C%20sal_Int32%20nPos%20)%20const
[3]
https://cgit.freedesktop.org/libreoffice/core/tree/sw/source/core/edit/autofmt.cxx#:~:text=if%20(!(rAppCC.isLetterNumeric(*pText%2C%20sal_Int32(nPos))

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

Reply via email to