remove hardcoded fallback codec

Change default 'latin-1' to 'utf-8'