Start up SJCL collectors
Handle UTF-8 better

Use a (slightly modified) version of the implementation here:

https://code.google.com/p/stringencoding/

Also fix a bug in the encoding side.