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:
parent
99cfd79e7c
commit
2987aba166
6 changed files with 186 additions and 153 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue