Add utf-8 encode to handle ST3 error