Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"
Дата
Msg-id 20090802193533.GX5407@samason.me.uk
обсуждение исходный текст
Ответ на character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"  (Andreas Kalsch <andreaskalsch@gmx.de>)
Список pgsql-general
On Sun, Aug 02, 2009 at 08:45:52PM +0200, Andreas Kalsch wrote:
> Problem: Users will enter _any_ characters in my application and an
> error really doesn't help in this case.

Then why don't you stop converting to LATIN2?

> What I am searching for is a function to undiacritic special letters to
> simple ones.

It would be easy to write a regex to strip out the invalid characters if
that's what you want.

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: Andreas Kalsch
Дата:
Сообщение: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"
Следующее
От: Dennis Gearon
Дата:
Сообщение: Use of Postgres in REST/JSON with BLOBS