Re: REGULAR EXPRESSION POSSIBLE PROBLEM - Mailing list pgsql-bugs

From Tom Lane
Subject Re: REGULAR EXPRESSION POSSIBLE PROBLEM
Date
Msg-id 29030.1099894289@sss.pgh.pa.us
Whole thread Raw
In response to REGULAR EXPRESSION POSSIBLE PROBLEM  ("dev" <dev@strategma.bg>)
List pgsql-bugs
"dev" <dev@strategma.bg> writes:
> my database is in UNICODE
> I try this (with Bulgarian chars):

> SELECT 'Тест проба' ~* 'тест' as result

> returns FALSE

> above query is same as:

> SELECT 'Test exam' ~* 'test' as result

> retuns TRUE

The regexp stuff is not currently capable of dealing with case
conversions in multi-byte character sets (such as Unicode).
Is there a Latin-N encoding you could use?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1306: locale related issue.
Next
From: Harald Armin Massa
Date:
Subject: Re: Installation error