| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: v8.3 + UTF8 errors when restoring DB |
| Дата | |
| Msg-id | 20080309102617.GA17440@svana.org обсуждение |
| Ответ на | Re: v8.3 + UTF8 errors when restoring DB ("Mitchell D. Russell" <mitchell.russell@gmail.com>) |
| Список | pgsql-general |
On Sun, Mar 09, 2008 at 06:12:14AM -0400, Mitchell D. Russell wrote: > Just as an update to this matter, I created another new database with > SQL_ASCII encoding and imported the data, and it worked fine, however, I > don't think that's the best solution because SQL_ASCII's not a good way to > have the database encoding set, right? SQL_ASCII means "no encoding". Everything becomes a bunch of bytes and there's no checking whatsoever. > I did a PG_dump of the database tonight, and went to restore it to my newly > created database (WIN2152 encoding), which worked fine, but when I go to > retrieve the data via my code (.NET c#), I get errors like : Any particular reason you're using that encoding? Why not just use UTF-8? Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Please line up in a tree and maintain the heap invariant while > boarding. Thank you for flying nlogn airlines.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера