| От | Ben |
|---|---|
| Тема | to_ascii, or some other form of magic transliteration |
| Дата | |
| Msg-id | 4321CC23.6080400@silentmedia.com обсуждение исходный текст |
| Ответы |
Re: to_ascii, or some other form of magic transliteration
|
| Список | pgsql-general |
I'm working on a problem that I imagine others have had, which basically boils down to having nice unicode display text that users are going to want to search against without typing it correctly.... e.g. let a search for "sma" match "små". It seems like the best way to do this is to find a magic unicode transliteration mapping function, and then save the ASCII transliterations for searching against. I see there's a function to_ascii, which sounds hopeful. However, when I try to use it, I get back: ERROR: encoding conversion from UNICODE to ASCII not supported What is this function for, if not to convert other encodings to ASCII? Is there some other way to do what I'm asking for?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера