in reply to Extracting data from Postgres database to XML via Perl - encoding issue

With UTF-8 you'll likely have better success if you set the pg_enable_utf8 option, as described in the DBD::Pg manual.

According to the XML::Generator::DBI manual that might also fix the base64 issue, unless you have characters that the XML specification forbids.

  • Comment on Re: Extracting data from Postgres database to XML via Perl - encoding issue
  • Download Code