dbTalk Databases Forums  

[BUGS] BUG #2161: ILIKE does not work with german umlauts in UTF8

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2161: ILIKE does not work with german umlauts in UTF8 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Robak
 
Posts: n/a

Default [BUGS] BUG #2161: ILIKE does not work with german umlauts in UTF8 - 01-10-2006 , 10:17 PM







The following bug has been logged online:

Bug reference: 2161
Logged by: Thomas Robak
Email address: thomas.robak (AT) dataplexx (DOT) com
PostgreSQL version: 8.0.3
Operating system: i686-pc-linux-gnu SuSE kernel 2.6.11.4-20a-smp
Description: ILIKE does not work with german umlauts in UTF8
Details:

Querying tables encoded UTF8 containing german umlauts such aus
Ö,ö,Ä,ä,Ü,ü with ILIKE will only return case-sensitive results. For
example:

Table:
Quote:
---------------|
DATA |
---------------|
Österreich |
Niederösterreich |
Ober Österreich |
---------------|
Query1= SELECT * FROM table WHERE data ILIKE '%ö%'
Result:
Niederösterreich

Query2= SELECT * FROM table WHERE data ILIKE '%Ö%'
Result:
Österreich
Ober Österreich

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match


Reply With Quote
  #2  
Old   
Volkan YAZICI
 
Posts: n/a

Default Re: [BUGS] BUG #2161: ILIKE does not work with german umlauts in UTF8 - 01-11-2006 , 04:44 AM






On Jan 10 01:38, Thomas Robak wrote:
Quote:
Querying tables encoded UTF8 containing german umlauts such aus
Ö,ö,Ä,ä,Ü,ü with ILIKE will only return case-sensitive results.
For example:
Please see these posts:
http://archives.postgresql.org/pgsql...1/msg00063.php
http://archives.postgresql.org/pgsql...2/msg00095.php


Regards.

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

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


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.