in reply to dealing with encoding while converting data from MySQL to Postgres
That is a very tough data-format to be having to accept as input. Is there absolutely no way to get XML from that MySQL database? Do you have any say at all about what it is you "inherit?"