code: function _gpfUtf8Encode (input) {
      var
          result = [],
          len = input.length,
          idx,
          charCode;
      for (idx = 0; idx < len; ++idx) {
          charCode = input.charCodeAt(idx);
          if (charCode < 128) {
              result.push(charCode);
          } else if (charCode > 127 && charCode < 2048) {
              result.push(charCode >> 6 | 192);
              result.push(charCode & 63 | 128);
          } else {
              result.push(charCode >> 12 | 224);
              result.push(charCode >> 6 & 63 | 128);
              result.push(charCode & 63 | 128);
          }
      }
      return result;
  }
docs: /*global _gpfEncodings Encodings dictionary /*exported _GPF_ENCODING_UTF_8 /*#endif UTF-8 encode/decode based on  http://www.webtoolkit.info/