Bug 153062 - Find by hexadecimal codes characters
Summary: Find by hexadecimal codes characters
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find&Replace-Dialog
  Show dependency treegraph
 
Reported: 2023-01-17 10:14 UTC by Jerzy Moruś
Modified: 2023-03-17 12:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerzy Moruś 2023-01-17 10:14:46 UTC
Following the advice of Stéphane Guillou, I'm reporting a problem searching for characters by specifying their hexadecimal code. The search for such characters should not depend on any options (except "Regular expressions" of course).
Meanwhile, in the case of characters such as letters Ż (U+017b), Û (U+00db) or Ú (U+00da) will not be found by putting \u017b, \u00db or \u00da codes unless "Diacritic-sensitive" is selected. This option should be irrelevant when searching for a specific hexadecimal code.
Comment 1 V Stuart Foote 2023-01-17 15:08:41 UTC
Not following the logic of why settings on Find & Replace dialog should not influence the "Regular expressions" check box. The entire search engine is ICU lib based.

And the ICU lib based regex we use provides the feature --by default both diacritics and kashida are "folded" for search-- the "Diacritic-sensitive" and "Kashida-sensitive" (with CTL scripts enabled) checkboxes control the ICU lib regex.

Diacritic-sensitive is enabled by default, so when you select a "Regular expressions" mode search, you will already be able to search for a hex Unicode value--or for an ICU regex global.

Works for me.

IMHO => NAB
Comment 2 Buovjaga 2023-03-17 12:45:42 UTC
Yes, let's close