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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers