[Libreoffice-bugs] [Bug 140796] [UI]Writer: Wrong English string for U+2060 character

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 5 21:27:26 UTC 2021


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heiko.tietze at documentfounda
                   |                            |tion.org,
                   |                            |xiscofauli at libreoffice.org

--- Comment #8 from Julien Nabet <serval2412 at yahoo.fr> ---
git grepping the code, it's quite bound with variables containing ZWNBSP in
their name:
CHAR_ZWNBSP
SID_INSERT_ZWNBSP
InsertZWNBSP
etc.
So just changing the English string would be wrong.

Considering the only definitions that I find are:
sc/inc/global.hxx:71:const sal_Unicode CHAR_ZWNBSP   = 0x2060;
sd/source/ui/func/fubullet.cxx:53:const sal_Unicode CHAR_ZWNBSP       =  
u'\x2060';
sw/inc/swtypes.hxx:172:#define CHAR_ZWNBSP         u'\x2060'

I wonder if it's not the unicode which should be changed in these for u'\xFEFF'

IMHO I think new variables should be created for u'\x2060'

Now I don't measure the impact of all these changes.

The other alternative would be to change all variable names containing ZWNBSP,
finally perhaps less complicated.

Xisco/Heiko: any thoughts here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210305/35f84f68/attachment.htm>


More information about the Libreoffice-bugs mailing list