decode strings as utf-8, otherwise only ANSI is supported