Additional change for ST3

It seems you have to force encode/decode to utf8 in some cases.  Tested in ST2 (2220) and ST3 (3012).