Encode to UTF-8 to use erp5 functions.