(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Examples:
FRENCH_COLLATION rules
- F=OFF cote < coté < côte < côté
- F=ON cote < côte < coté < côté
ALTERNATE_HANDLING rules
- S=3, A=N di Silva < Di Silva < diSilva < U.S.A. < USA
- S=3, A=S di Silva = diSilva < Di Silva < U.S.A. = USA
- S=4, A=S di Silva < diSilva < Di Silva < U.S.A. < USA
CASE_FIRST rules
- C=X or C=L "china" < "China" < "denmark" < "Denmark"
- C=U "China" < "china" < "Denmark" < "denmark"
CASE_LEVEL rules
- S=1, E=X role = Role = rôle
- S=1, E=O role = rôle < Role