add Utf-8 encoding switch