From: Fabien Potencier Date: Sun, 3 Nov 2013 09:11:57 +0000 (+0100) Subject: bug #1258 Fix twig_first and twig_last filters for UTF8 multibyte strings (chEbba) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=bdb5f8f02eff3f2fa066c796d938d7853c15b9d5;p=web%2Fkonrad%2Ftwig.git bug #1258 Fix twig_first and twig_last filters for UTF8 multibyte strings (chEbba) This PR was squashed before being merged into the master branch (closes #1258). Discussion ---------- Fix twig_first and twig_last filters for UTF8 multibyte strings After string is sliced we already have the right result with a first/last letter for UTF8 string. Commits ------- 6003ae4 Fix twig_first and twig_last filters for UTF8 multibyte strings --- bdb5f8f02eff3f2fa066c796d938d7853c15b9d5