| От | Jean-Christian Imbeault |
|---|---|
| Тема | Problems with writing EUC-JP/Unicode to console or file |
| Дата | |
| Msg-id | 3EF69C1C.8070905@mega-bucks.co.jp обсуждение исходный текст |
| Ответы |
Re: Problems with writing EUC-JP/Unicode to console or file
|
| Список | pgsql-jdbc |
I'm having trouble writing a particular character to a file or even to the console. The character in question is the japanese double-width "-" symbol (in japanese font 'ー'). When I read the data from the pg database, encoded in EUC-JP, and display it in a GUI text field it is displayed properly. However if I try and write it to the console using System.out.println() or to a file using FileWriter.write() the character comes out as a '?'. I am using a the newest version of postgres, 7.3.3, but a slightly old driver, pgidbc2.jar. Is this a problem with the driver, Java, or the way I am trying to print/write out the data? Any help or advice is greatly appreciated! Thanks, Jean-Christian Imbeault
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера