http://www.perlmonks.org?node_id=1030984


in reply to Re^2: Writing HTML file with UTF-8 chars
in thread Writing HTML file with UTF-8 chars

I'm sure the chars in the db are UTF-8...

Have you set the pg_enable_utf8 flag in DBD::Pg? Having valid UTF-8 is important, but so is telling Perl which encoding to use to interpret the incoming data.