hu_HU.UTF8 case insensitive search fail to return values

Started by Albert László-Róbertover 18 years ago3 messagesbugs
Jump to latest
#1Albert László-Róbert
albertlaszlorobert@gmail.com

Attachments:

rss-logo-below-transparent-200x132.pngimage/png; name=rss-logo-below-transparent-200x132.pngDownload
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Albert László-Róbert (#1)
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

#3Albert László-Róbert
albertlaszlorobert@gmail.com
In reply to: Tom Lane (#2)
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