| От | rohano |
|---|---|
| Тема | JDBC encoding |
| Дата | |
| Msg-id | 3ED137E4.9020000@freenet.de обсуждение исходный текст |
| Список | pgsql-jdbc |
I experienced the same problems as you with spezial german characters called 'Umlaute'. Everything worked fine with postgres7.1 and JDBC using "sql-ascii". After changing to postgres 7.3 setting of driver option 'charset=LATIN1' had no effect. Reading the thread helped me a lot to understand the problem. My workaround for now: I dumped the database (with pg_dump, not pg_dumpall) to a file, then dropped the database and createdan empty one with the former name by sql-command with encoding = LATIN1. After restoring the data into the database by copy from dump I really had both: Access from JAVA as well as ODBC both with correctly shwn characters. Time needed for that operation about 2 minutes. If you are in a hurry this might be a quick solution. Bye rohano
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера