![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Bug reference: 2592 Logged by: Robert Siemer Email address: Robert.Siemer-postgresql.org (AT) backsla (DOT) sh PostgreSQL version: 8.1.4 Operating system: Linux Description: ILIKE does not care about locales Details: Hi! As I don't want to risk getting things mixed up here in this very report, lets assume: s and t are strings with one 'international' character, one having the lower case the other upper lower(s) LIKE lower(t) yields True, as it should s ILIKE t yields False --> I expect True I tried this with LC_COLLATE=C and the rest LC_...=es_ES.utf8 dennisb from irc reported LC_everything=sv_SE.UTF-8 with version 8.1.0 having the same problems. Some "non-normative" examples for s and t: http://rafb.net/paste/results/bMRfez77.html and ä Ä, ñ Ñ, ö Ö |
#3
| |||
| |||
|
|
On Sun, Aug 27, 2006 at 12:58:00PM +0000, Robert Siemer wrote: I tried this with LC_COLLATE=C and the rest LC_...=es_ES.utf8 dennisb from irc reported LC_everything=sv_SE.UTF-8 with version 8.1.0 having the same problems. I can confirm this with de_DE.utf8. |
#4
| |||
| |||
|
|
Tino Schwarze <tino.schwarze (AT) tisc (DOT) de> writes: On Sun, Aug 27, 2006 at 12:58:00PM +0000, Robert Siemer wrote: I tried this with LC_COLLATE=C and the rest LC_...=es_ES.utf8 dennisb from irc reported LC_everything=sv_SE.UTF-8 with version 8.1.0 having the same problems. I can confirm this with de_DE.utf8. ilike currently doesn't work for multibyte encodings (eg utf8). This bug has been known for a long while, eg, http://archives.postgresql.org/pgsql...0/msg00002.php but no one's stepped up to fix it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |