Fix for utf8 double encoding problem (issue #6)