| От | t-ishii@sra.co.jp |
|---|---|
| Тема | Re: How to store unicode? |
| Дата | |
| Msg-id | 20000831084012K.t-ishii@sra.co.jp обсуждение |
| Ответ на | How to store unicode? (Michael Meskes <meskes@postgresql.org>) |
| Список | pgsql-hackers |
> I've just been asked how to store unicode text in a postgresql database. The > problem as I understand it is that unicode strings may contain binary 0s > which might break string handling. Since I never tried, I think it's better > to ask here before answering that question. I guess you are talking about UCS encoding. There is another encoding for Unicode, called UTF-8. It does not 0s, so you could use it with PostgreSQL. Actually we have some unicode(utf-8) regression tests in src/test/mb and they seem working. > The application uses ecpg so it's not only a backend question. I guess ecpg is ok as long as using UTF-8. -- Tatsuo Ishii
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера