Thread: iconv -c ?

iconv -c ?

From
"Jan-Peter Seifert"
Date:
<div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div><div> </div><div>it seems ( for quite some time
now) that PostgreSQL is using the -c option of iconv when exporting data to a different encoding:</div><div
class="signature">http://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.13/iconv.1.html</div><div
class="signature"> </div><divclass="signature">- e.g. the Euro sign is removed when exporting LATIN1 databases to
UTF8.</div><divclass="signature"> </div><div class="signature">I'm not sure, but in the past it was different and those
characterscaused error messages instead.</div><div class="signature"> </div><div class="signature">So I wonder since
whenincompatible characters are removed?</div><div class="signature"> </div><div class="signature">Could someone tell
me,please?</div><div class="signature"> </div><div class="signature">Thank you very much!</div><div
class="signature"> </div><divclass="signature">Peter</div><div class="signature"> </div></div> 

Re: iconv -c ?

From
Peter Eisentraut
Date:
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.



Re: iconv -c ?

From
"Jan-Peter Seifert"
Date:
Gesendet: Sonntag, 21. Juli 2013 um 16:03 Uhr
Von: "Peter Eisentraut" <peter_e@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.

I should test the behaviour on Linux then.

With best regards,

Peter
 


Re: iconv -c ?

From
Peter Eisentraut
Date:
On 7/22/13 5:06 AM, Jan-Peter Seifert wrote:
> Gesendet: Sonntag, 21. Juli 2013 um 16:03 Uhr
> Von: "Peter Eisentraut" <peter_e@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.