lib/icu/Canonicalize: convert all punctuation to ASCII

To make tag matching easier.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1669
This commit is contained in:
Max Kellermann
2022-11-15 18:49:33 +01:00
parent d7f545721b
commit 53530bd1d5
5 changed files with 62 additions and 0 deletions

View File

@@ -28,6 +28,15 @@
class AllocatedString;
/**
* Throws on error.
*/
void
IcuCanonicalizeInit();
void
IcuCanonicalizeFinish() noexcept;
/**
* Transform the given string to "canonical" form to allow fuzzy
* string comparisons. The full set of features (if ICU is being