Encode string to utf_8.

The unit character µ(micro) causes problems when importing into a UTF-8
Postgres database. Forcing the utf_8 encoding before adding the data to
the database seems to fix it.