Unix Technical Forum

Re: hu_HU.UTF8 case insensitive search fail to return values

This is a discussion on Re: hu_HU.UTF8 case insensitive search fail to return values within the pgsql Bugs forums, part of the PostgreSQL category; --> =?UTF-8?B?IkzDoXN6bMOzLVLDs2JlcnQsIEFsYmVydCI=?= <albertlaszlorobert@gmail.com> writes: > [ ILIKE fails to match case-insensitively in 8.1.2 ] The ILIKE code doesn't work well ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:06 PM
Tom Lane
 
Posts: n/a
Default Re: hu_HU.UTF8 case insensitive search fail to return values

=?UTF-8?B?IkzDoXN6bMOzLVLDs2JlcnQsIEFsYmVydCI=?= <albertlaszlorobert@gmail.com> writes:
> [ ILIKE fails to match case-insensitively in 8.1.2 ]


The ILIKE code doesn't work well at all in multibyte encodings in 8.1
and before. You should get reasonable results in one of the LATINn
encodings (and a matching locale of course). If you need to use UTF8,
I recommend updating to 8.2 which handles multibyte characters better.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 12:07 PM
=?ISO-8859-1?Q?Albert_L=E1szl=F3-R=F3bert?=
 
Posts: n/a
Default Re: hu_HU.UTF8 case insensitive search fail to return values

Tom Lane wrote:
> =?UTF-8?B?IkzDoXN6bMOzLVLDs2JlcnQsIEFsYmVydCI=?= <albertlaszlorobert@gmail.com> writes:
>
>> [ ILIKE fails to match case-insensitively in 8.1.2 ]
>>

>
> The ILIKE code doesn't work well at all in multibyte encodings in 8.1
> and before. You should get reasonable results in one of the LATINn
> encodings (and a matching locale of course). If you need to use UTF8,
> I recommend updating to 8.2 which handles multibyte characters better.
>
> regards, tom lane
>
>

the administrator finally configured properly the postgres 8.2, and the
reported problem looks to be fixed. i ran successfully the ILIKE test on
hungarian language.
thanks for the tip.
regards, laszlo-robert, albert

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com