Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"
В списке pgsql-general по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2" |
| Дата | |
| Msg-id | 20090803232305.GH19615@alvh.no-ip.org обсуждение |
| Ответ на | Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2" (Andreas Kalsch <andreaskalsch@gmx.de>) |
| Список | pgsql-general |
Andreas Kalsch wrote: > My question again: Is there a native Postgres solution to simplify > characters consistently? It means to completely remove all > diacriticals from Unicode characters. There's a to_ascii() function but it supports a subset of charsets, and IIRC UTF8 is not one of them. Patches welcome. > I will validate input data on the client side (PHP or Python) and send > it to the server. Of course the only encoding I will use on any side > is UTF8. I just wnated to use this Latin thing for simplification of > characters. Hmm, seems you're using the wrong tool for that purpose. Changing to a different encoding does not remove any diacritical marks, only change the underlying byte encoding. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера