Fix UTF8 issue with WS