Fixed #23271 -- Don't corrupt PO files on Windows when updating them.

Force encoding of text fetched from gettext programs to be UTF-8 so when
it's merged with the existing contents the mixed encodings doesn't cause
mojibake to be written.

Thanks to contributor with Trac nick 'danielmenzel' for the report and
excellent research.