fix issue #1 with utf-8 decodes