Re: BUG #5010: perl iconv function returns ? character

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5010: perl iconv function returns ? character
Дата
Msg-id 25218.1252255971@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5010: perl iconv function returns ? character  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #5010: perl iconv function returns ? character  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgsql-bugs
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
> PERL_SYS_INIT3 call, I have to suppose that that's screwing up
> Text::Iconv somehow.

Huh ... belay that.  Diking out the PERL_SYS_INIT3 call doesn't make
the problem go away.

What I was actually comparing was the current Fedora 11 8.3.7 RPMs
with 8.3.8 built from source.  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 ...

(Whether this has anything to do with the OP's problem on Debian
remains to be determined, but it's definitely busted on Fedora.)

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5010: perl iconv function returns ? character
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: BUG #5010: perl iconv function returns ? character