Hi David

On 08/02/14 03:45, David E. Wheeler wrote:
On Feb 7, 2014, at 3:59 AM, Peter J. Holzer <h...@wsr.ac.at> wrote:

o Decoding incoming data
$$item{$_} = decode('utf-8', $$item{$_} || '') for keys %$item

Same here. With pg_enable_utf8 I would expect to get character strings,
not byte strings, so no decode should be necessary.

Yes, true.

More: http://savage.net.au/Ron/html/Debian.MariaDB.Perl.DBD.mysql.html

The demo uses MySQL, Pg and SQLite.

With 3.0.0, if you have your client_encoding set to UTF-8, you can delete the 
call to pg_enable_utf8 and it will DTRT.

I did not try that.

This has been a long time coming, but most welcome.

Indeed.

--
Ron Savage
http://savage.net.au/

Reply via email to