https://bugs.documentfoundation.org/show_bug.cgi?id=97706
Taylor <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |[email protected]
Assignee|[email protected] |[email protected]
|desktop.org |
--- Comment #3 from Taylor <[email protected]> ---
Using http://www.unicode.org/Public/UNIDATA/UnicodeData.txt as reference, we
can grep for ';(Cc|Cn);'.
We find that Cc and Cn chars are:
0x00 to 0x1F (inclusive)
0x7F to 0x9F (inclusive)
Using the above info, we can update the CLEAN isPrintable() function.
I also added CLEAN.OOXML using a new isPrintable_OOXML() function that returns
true only if c > 0x1f.
Using the following fods to verify, I found that the CHAR function is not
appropriate to use with CLEAN since CHAR returns 0xfffd for the range of 0x80
to 0xFF inclusive. 0x100 and above returns Err:502.
core/sc/qa/unit/data/functions/text/fods/clean.fods
Changing CHAR to UNICHAR, we can then successfully test the range 0x80 to 0x9F.
I'll attempt to use gerrit to start the patch process.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs