You are here

private function JavaScriptPacker::_encode95 in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode95()
  2. 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode95()
  3. 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::_encode95()
  4. 6 advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode95()
  5. 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::_encode95()

File

advagg_js_compress/jspacker.inc, line 420

Class

JavaScriptPacker

Code

private function _encode95($charCode) {
  $res = '';
  if ($charCode >= $this->_encoding) {
    $res = $this
      ->_encode95($charCode / $this->_encoding);
  }
  return $res . chr($charCode % $this->_encoding + 161);
}