char encoding rewrite (Unification Encoding.js) and non channel bug fix