From: JEDIBC Date: Fri, 9 Dec 2011 09:08:13 +0000 (+0100) Subject: . misspell function _twig_convert_encoding -> twig_convert_encoding X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=3bb822ec2f3d4b2f2abb4b047bac5c4d02c26a9a;p=web%2Fkonrad%2Ftwig.git . misspell function _twig_convert_encoding -> twig_convert_encoding --- diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 1dbf6be..325f56d 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -582,7 +582,7 @@ function _twig_escape_js_callback($matches) } // \uHHHH - $char = _twig_convert_encoding($char, 'UTF-16BE', 'UTF-8'); + $char = twig_convert_encoding($char, 'UTF-16BE', 'UTF-8'); return '\\u'.substr('0000'.bin2hex($char), -4); }