1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00

[iOS][non-icu] HybridGlobalization support IgnoreKanaType (#96002)

Implement IgnoreKanaType on hybrid mode
This commit is contained in:
Meri Khamoyan 2023-12-15 11:04:39 +01:00 committed by GitHub
parent 99cfd79e7c
commit 2987aba166
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 186 additions and 153 deletions

View file

@ -379,7 +379,8 @@ The number of `CompareOptions` and `NSStringCompareOptions` combinations are lim
- `IgnoreSymbols` is not supported because there is no equivalent in native api. Throws `PlatformNotSupportedException`.
- `IgnoreKanaType` is not supported because there is no equivalent in native api. Throws `PlatformNotSupportedException`.
- `IgnoreKanaType` is implemented using [`kCFStringTransformHiraganaKatakana`](https://developer.apple.com/documentation/corefoundation/kcfstringtransformhiraganakatakana?language=objc) then comparing strings.
- `None`:
@ -419,9 +420,7 @@ The number of `CompareOptions` and `NSStringCompareOptions` combinations are lim
- All combinations that contain below `CompareOptions` always throw `PlatformNotSupportedException`:
`IgnoreSymbols`,
`IgnoreKanaType`,
`IgnoreSymbols`
## String starts with / ends with