Re: Postgresql 8.1: plperl code works with LATIN1, fail

From: merlyn(at)stonehenge(dot)com (Randal L(dot) Schwartz)
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Matthias(dot)Pitzl(at)izb(dot)de, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql 8.1: plperl code works with LATIN1, fail
Date: 2007-01-29 15:38:31
Message-ID: 8664apders.fsf@blue.stonehenge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "Michael" == Michael Fuhr <mike(at)fuhr(dot)org> writes:

Michael> Isn't that the situation here? The PL/Perl function body is a
Michael> string encoded in the database's encoding, which in this case is
Michael> UTF-8.

If that's always the case, then the embedded Perl interpreter should
be started in that mode, perhaps by adding "-Mutf8" to the arg list
of the embedded interpreter.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn(at)stonehenge(dot)com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-01-29 15:51:03 Re: Limit on number of users in postgresql?
Previous Message Bill Moran 2007-01-29 15:16:17 Re: Limit on number of users in postgresql?