From: lei@aswsyst.cz
To: pgsql-bugs@postgresql.org
Subject: BUG #13638: Exception texts from plperl has bad encoding
Date: Fri, 25 Sep 2015 11:23:45 +0000
Message-ID: <20150925112345.26913.28407@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13638
Logged by: Michal Leinweber
Email address: lei@aswsyst.cz
PostgreSQL version: 9.4.4
Operating system: Debian 8
Description:
I have UTF-8 database and using UTF-8 text in plpgsql and plperl functions.
Everything works ok, only exceptions from plperl functions have bad encoding
(maybe double encoded).
Compare output of these 2 functions:
create or replace function perl_test() returns text
language plperl as $$
return "Český text ěščřžýáíé";
$$;
create or replace function perl_test_err() returns text
language plperl as $$
elog(ERROR, "Česká chyba ěščřžýáíé");
$$;
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: lei@aswsyst.cz
Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
In-Reply-To: <20150925112345.26913.28407@wrigleys.postgresql.org>
References: <20150925112345.26913.28407@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox