Re: Regular expressions w localization problem

Поиск
Список
Период
Сортировка
От Manuel Sugawara
Тема Re: Regular expressions w localization problem
Дата
Msg-id m3veygzgaa.fsf@conexa.fciencias.unam.mx
обсуждение исходный текст
Ответ на Re: Regular expressions w localization problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> I believe the meanings of [[:upper:]] and friends depend on the
> database locale,

Indeed they depend on the locale settings, that's why this used to
work.

> and the current code for them probably doesn't work at all in
> multibyte database encodings either.  So, what locale and encoding
> are you using?

The locale is es_MX and encoding latin1. (UTF-8 doesn't play very well
with regular expressions :-().

Regards,
Manuel.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Regular expressions w localization problem
Следующее
От: John Taber
Дата:
Сообщение: Re: pg_connect troubles on localhost