Re: [GENERAL] case insensitive match in unicode

2006-04-13 Thread Balazs . Klein
This perl function doesn't work for me. I keep getting a Cannot decode string with wide characters at /usr/lib/perl5/5.8.7/i386-linux/Encode.pm line 166 error Do you have any suggestion? Thanks Balázs ---(end of broadcast)--- TIP 1: if posting/read

Re: [GENERAL] case insensitive match in unicode

2006-04-07 Thread Mike Rylander
On 4/6/06, SunWuKung <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, kleptog@svana.org says... > > On Mon, Mar 27, 2006 at 12:45:05PM +0200, SunWuKung wrote: > > > This sounds like a very interesting concept. > > > It wouldn't be 'case insensitive' just insensitive. > > > > > > The way

Re: [GENERAL] case insensitive match in unicode

2006-04-07 Thread Martijn van Oosterhout
On Thu, Apr 06, 2006 at 11:12:26PM +0200, SunWuKung wrote: > > There is also a locale-independant case-mapping module there plus > > various locale specific ones also. > > > > http://icu.sourceforge.net/userguide/Transform.html > > http://icu.sourceforge.net/userguide/caseMappings.html > > http://

Re: [GENERAL] case insensitive match in unicode

2006-04-06 Thread SunWuKung
In article <[EMAIL PROTECTED]>, kleptog@svana.org says... > On Mon, Mar 27, 2006 at 12:45:05PM +0200, SunWuKung wrote: > > This sounds like a very interesting concept. > > It wouldn't be 'case insensitive' just insensitive. > > > > The way I imagine it now is a special case of the ~ function. > >

Re: [GENERAL] case insensitive match in unicode

2006-03-27 Thread Martijn van Oosterhout
On Mon, Mar 27, 2006 at 12:45:05PM +0200, SunWuKung wrote: > This sounds like a very interesting concept. > It wouldn't be 'case insensitive' just insensitive. > > The way I imagine it now is a special case of the ~ function. > I create matchgroups in a table and check each character if it is in t

Re: [GENERAL] case insensitive match in unicode

2006-03-27 Thread SunWuKung
In article <[EMAIL PROTECTED]>, kleptog@svana.org says... > On Mon, Mar 27, 2006 at 11:31:17AM +0200, SunWuKung wrote: > > I would need to do case insensitive match against a field that contains > > text in different languages - Greek, Hungarian, Arabic etc. > > The db encoding is UTF8. > > > > S

Re: [GENERAL] case insensitive match in unicode

2006-03-27 Thread Martijn van Oosterhout
On Mon, Mar 27, 2006 at 11:31:17AM +0200, SunWuKung wrote: > I would need to do case insensitive match against a field that contains > text in different languages - Greek, Hungarian, Arabic etc. > The db encoding is UTF8. > > So far I found no way to achieve that. I tried converting both strings

[GENERAL] case insensitive match in unicode

2006-03-27 Thread SunWuKung
I would need to do case insensitive match against a field that contains text in different languages - Greek, Hungarian, Arabic etc. The db encoding is UTF8. So far I found no way to achieve that. I tried converting both strings to the same case and using ~* , but neither worked. Does anybody no