Locale-Unicode
view release on metacpan or search on metacpan
[keyword value] ). For example, -ks-level2 or [strength 2] will only
compare strings based on their primary and secondary weights.
The options description below is taken from the LDML standard, and
reflect how the algorithm works when implemented by web browser, or
other runtime environment. This module does not do any of those
algorithms. The documentation is only here for your benefit and
convenience.
See the standard documentation
<https://unicode.org/reports/tr35/tr35-collation.html> and the DUCET
(Default Unicode Collation Element Table)
<https://www.unicode.org/reports/tr10/#Default_Unicode_Collation_Element
_Table> for more information.
* "ka" or "colAlternate"
Sets alternate handling for variable weights.
Possible values
<https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db
Reorder digits after Latin characters.
* "en-u-kr-arab-cyrl-others-symbol"
Reorder Arabic characters first, then Cyrillic, and put
symbols at the endâafter all other characters.
* "en-u-kr-others"
Remove any locale-specific reordering, and use DUCET order
for reordering blocks.
* "ks" or "colStrength"
Sets the collation parameter key for collation strength used for
comparison.
Possible values
<https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db
72205aa5b6fc3a/common/bcp47/collation.xml#L79> are:
Private Use.
For example: `ja-t-de-t0-und-x0-medical`
## Collation Options
[Parametric settings](https://unicode.org/reports/tr35/tr35-collation.html#Setting_Options) can be specified in language tags or in rule syntax (in the form \[keyword value\] ). For example, -ks-level2 or \[strength 2\] will only compare strings base...
The options description below is taken from the LDML standard, and reflect how the algorithm works when implemented by web browser, or other runtime environment. This module does not do any of those algorithms. The documentation is only here for your...
See the [standard documentation](https://unicode.org/reports/tr35/tr35-collation.html) and the [DUCET (Default Unicode Collation Element Table)](https://www.unicode.org/reports/tr10/#Default_Unicode_Collation_Element_Table) for more information.
- `ka` or `colAlternate`
Sets alternate handling for variable weights.
Possible [values](https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db72205aa5b6fc3a/common/bcp47/collation.xml#L34) are optional and can be:
- `noignore` or `non-ignorable`
Default value.
- `en-u-kr-latn-digit`
Reorder digits after Latin characters.
- `en-u-kr-arab-cyrl-others-symbol`
Reorder Arabic characters first, then Cyrillic, and put symbols at the endâafter all other characters.
- `en-u-kr-others`
Remove any locale-specific reordering, and use DUCET order for reordering blocks.
- `ks` or `colStrength`
Sets the collation parameter key for collation strength used for comparison.
Possible [values](https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db72205aa5b6fc3a/common/bcp47/collation.xml#L79) are:
- `level1` or `primary`
- `level2` or `secondary`
- `level3` (default) or `tertiary`
lib/Locale/Unicode.pm view on Meta::CPAN
For example: C<ja-t-de-t0-und-x0-medical>
=back
=head2 Collation Options
L<Parametric settings|https://unicode.org/reports/tr35/tr35-collation.html#Setting_Options> can be specified in language tags or in rule syntax (in the form [keyword value] ). For example, C<-ks-level2> or [strength 2] will only compare strings based...
The options description below is taken from the LDML standard, and reflect how the algorithm works when implemented by web browser, or other runtime environment. This module does not do any of those algorithms. The documentation is only here for your...
See the L<standard documentation|https://unicode.org/reports/tr35/tr35-collation.html> and the L<DUCET (Default Unicode Collation Element Table)|https://www.unicode.org/reports/tr10/#Default_Unicode_Collation_Element_Table> for more information.
=over 4
=item * C<ka> or C<colAlternate>
Sets alternate handling for variable weights.
Possible L<values|https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db72205aa5b6fc3a/common/bcp47/collation.xml#L34> are optional and can be:
=over 8
lib/Locale/Unicode.pm view on Meta::CPAN
=item * C<en-u-kr-latn-digit>
Reorder digits after Latin characters.
=item * C<en-u-kr-arab-cyrl-others-symbol>
Reorder Arabic characters first, then Cyrillic, and put symbols at the endâafter all other characters.
=item * C<en-u-kr-others>
Remove any locale-specific reordering, and use DUCET order for reordering blocks.
=back
=item * C<ks> or C<colStrength>
Sets the collation parameter key for collation strength used for comparison.
Possible L<values|https://github.com/unicode-org/cldr/blob/5ae2965c8afed18f89f54195db72205aa5b6fc3a/common/bcp47/collation.xml#L79> are:
=over 8
( run in 1.952 second using v1.01-cache-2.11-cpan-49f99fa48dc )