Posted by Janwillem Borleffs on 12/18/05 14:14
Stefan Mueller wrote:
> While testing your code I figured out that 'η' gets not sorted
> correctly. With your code 'η' is not handled as 'c'. With
> 'latin_german1_ci' in MySQL 'η' is handled as 'c'.
>
> How do I have to add this "feature" to your posted code?
>
By changing the $pattern variable of the translate() function to match the
following:
$pattern = '/^&(.)(tilde|grave|acute|circ|tilde|uml|cedil);$/';
JW
Navigation:
[Reply to this message]
|