Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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


  • From: merlyn(at)stonehenge(dot)com (Randal L. 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: Mon, 29 Jan 2007 07:38:31 -0800
  • Message-id: <8664apders(dot)fsf(at)blue(dot)stonehenge(dot)com>

>>>>> "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!



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group