12 Jan 2005 12:30
Re: mbstoupper or utf8toupper
Keld Jørn Simonsen <keld <at> dkuug.dk>
2005-01-12 11:30:39 GMT
2005-01-12 11:30:39 GMT
On Wed, Jan 12, 2005 at 11:49:24AM +0100, Antoine Leca wrote: > On Tuesday, January 11st, 2005 20:59Z Henry Spencer va escriure: > > > > Indeed, as the Unicode spec points out, you really want to do > > case-insensitive comparisons by first mapping characters to > > equivalence classes -- not by mapping to a particular case and > > assuming that all equivalent letters will map to the same character. > > But in a Turkish locale, 'I' and 'i' are NOT in the same equivalence class: > the first is [.dotlessi.] (not sure it is the correct POSIX way to write > this... hope you get the idea) while the second is in [.i.] > > Using the UCA primary keys will lead to a similar problem. > > Or did I miss something? If you use the Turkish locale primary and seconday keys, you should be OK. This is built on ISO 14651, and modified for Turkish usage with the dotless i changes. Best regards keld
RSS Feed