| От | Peter Eisentraut |
|---|---|
| Тема | Re: xml type and encodings |
| Дата | |
| Msg-id | 200701152140.28845.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: xml type and encodings (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
Martijn van Oosterhout wrote: > The only real alternative is to treat xml more like bytea than text > (ie, treat the input as a stream of octets). bytea isn't "treated" any different than other data types. You just have to take care in the client that you escape every byte greater than 127. The same option is available to you in xml, if you escape all suspicious characters using entities. Then, the encoding declaration is immaterial anyway. (Unless you allow UTF-16 into the picture, but let's say we exclude that implicitly.) -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера