Re: [ADMIN] iconv -c ?

2013-07-22 Thread Peter Eisentraut
On 7/22/13 5:06 AM, Jan-Peter Seifert wrote:
 Gesendet: Sonntag, 21. Juli 2013 um 16:03 Uhr
 Von: Peter Eisentraut pete...@gmx.net
  
 On Mon, 2013-07-15 at 16:55 +0200, Jan-Peter Seifert wrote:
 
 it seems ( for quite some time now ) that PostgreSQL is using the -c
 option of iconv when exporting data to a different encoding:
 http://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.13/iconv.1.html
 
 PostgreSQL doesn't use iconv at all.
 
 Hello Peter,
 
 sure? The Windows versions of PostgreSQL ( 8.4 - 9.2 ) have an iconv.dll in 
 their bin folder.

That might be because it's a dependency of gettext.




-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[ADMIN] iconv -c ?

2013-07-15 Thread Jan-Peter Seifert
Hello,



it seems( for quite some time now ) that PostgreSQL is using the -c option of iconv when exporting data to a different encoding:

http://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.13/iconv.1.html



- e.g. the Euro sign is removed when exporting LATIN1 databases to UTF8.



Im not sure, but in the past it was different and those characters caused error messages instead.



So I wonder since when incompatible characters are removed?



Could someone tell me, please?



Thank you very much!



Peter