code: function utf16to8(e) {
      var t, n, r, i;
  
      t = '';
      r = e.length;
  
      for (n = 0; n < r; n++) {
          i = e.charCodeAt(n);
  
          if (i >= 1 && i <= 127) {
              t += e.charAt(n);
          } else if (i > 2047) {
              t += String.fromCharCode(224 | i >> 12 & 15);
              t += String.fromCharCode(128 | i >> 6 & 63);
              t += String.fromCharCode(128 | i >> 0 & 63);
          } else {
              t += String.fromCharCode(192 | i >> 6 & 31);
              t += String.fromCharCode(128 | i >> 0 & 63);
          }
      }
  
      return t;
  }
docs: ****************************************
  utf16to8
  ****************************************