remove hardcoded fallback codec

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