Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-06 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > On Sun, 2009-09-06 at 12:52 -0400, Tom Lane wrote: >> I would have said that the RPMs are >> not built in any way significantly different from a straight >> configure-and-build-from-source, but it appears that something in >> the RPM build options makes

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-06 Thread Devrim GÜNDÜZ
On Sun, 2009-09-06 at 12:52 -0400, Tom Lane wrote: > I would have said that the RPMs are > not built in any way significantly different from a straight > configure-and-build-from-source, but it appears that something in > the RPM build options makes this work. Investigating ... Could it be becaus

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-06 Thread Tom Lane
I wrote: > Hmm ... I can reproduce the problem on Fedora 11. Given a UTF8-encoded > database (I don't think locale matters), 8.3.7 works as described, but > 8.3.8 fails as described, as do 8.4.1 and HEAD. Given that the only > difference in plperl.c between 8.3.7 and 8.3.8 is the addition of the

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-06 Thread Tom Lane
Robert Haas writes: > On Tue, Aug 25, 2009 at 8:15 AM, Lampa wrote: >> function my_ascii2 is defined: >> CREATE FUNCTION my_ascii2(text) RETURNS text AS $$ use strict; use >> Text::Iconv; my $conv = Text::Iconv->new("UTF8", "ASCII//TRANSLIT"); return >> $conv->convert($_[0]); $$ LANGUAGE plperlu;

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-06 Thread Lampa
Cluster is created with cs_CZ.UTF-8 collation. List of databases Name| Owner | Encoding | Collation |Ctype| Access privileges ---+--+--+-+-+--- postgres | postgres | UTF8

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-05 Thread Tom Lane
Robert Haas writes: > On Tue, Aug 25, 2009 at 8:15 AM, Lampa wrote: >> function my_ascii2 is defined: >> CREATE FUNCTION my_ascii2(text) RETURNS text AS $$ use strict; use >> Text::Iconv; my $conv = Text::Iconv->new("UTF8", "ASCII//TRANSLIT"); return >> $conv->convert($_[0]); $$ LANGUAGE plperlu;

Re: [BUGS] BUG #5010: perl iconv function returns ? character

2009-09-04 Thread Robert Haas
On Tue, Aug 25, 2009 at 8:15 AM, Lampa wrote: > > The following bug has been logged online: > > Bug reference:      5010 > Logged by:          Lampa > Email address:      lamp...@gmail.com > PostgreSQL version: 8.4.0 > Operating system:   Debian testing/unstable > Description:        perl iconv fun

[BUGS] BUG #5010: perl iconv function returns ? character

2009-08-25 Thread Lampa
The following bug has been logged online: Bug reference: 5010 Logged by: Lampa Email address: lamp...@gmail.com PostgreSQL version: 8.4.0 Operating system: Debian testing/unstable Description:perl iconv function returns ? character Details: See the difference (examp