Re: plperlu problem with utf8
David Wheeler <david@kineticode.com>
From: "David E. Wheeler" <david@kineticode.com>
To: Alex Hunsaker <badalex@gmail.com>
Cc: David Christensen <david@endpoint.com>, Oleg Bartunov <oleg@sai.msu.su>, Andrew Dunstan <andrew@dunslane.net>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-20T00:56:55Z
Lists: pgsql-hackers
On Dec 19, 2010, at 12:20 AM, Alex Hunsaker wrote: >> I would argue that it should output the same as the first example. That is, PL/Perl should have decoded the latin-1 before passing the text to the Perl function. > > Yeah, I don't think you will find anyone who disagrees :) PL/TCL and > PL/Python get this right FWIW. Anyway find attached a patch that does > just this. > > With the attached we: <intelligent fixes elided /> +1 Awesome. Should this go into the next commitfest? Or might it be considered a bug fix? Best, David