![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
oocms=# select 'ф' ~ '^\\w$'; ?column? ---------- f (1 запись) |
#3
| |||
| |||
|
|
Markus Bertheau wrote: oocms=# select 'ф' ~ '^\\w$'; ?column? ---------- f (1 запись) What locale are you using for LC_COLLATE? If it's C or POSIX, you need to change it and re-initdb. |
#4
| |||
| |||
|
|
Peter Eisentraut <peter_e (AT) gmx (DOT) net> writes: Markus Bertheau wrote: oocms=3D# select '=D1=84' ~ '^\\w$'; ?column? ---------- f (1 =D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D1=8C) =20 What locale are you using for LC_COLLATE? If it's C or POSIX, you need= =20 to change it and re-initdb. =20 Another likely cause of trouble is that the regexp character classification stuff is presently based on <ctype.h> functions and thus cannot work in multibyte encodings. |
#5
| |||
| |||
|
|
Is there something planned to support UTF-8 in regexps? |
![]() |
| Thread Tools | |
| Display Modes | |
| |