Escaping html breaks many of the non-english characters in UTF8
Escaping html breaks many of the non-english characters in UTF8

--- a/templates/blob.tpl
+++ b/templates/blob.tpl
@@ -66,7 +66,7 @@
      {foreach from=$lines item=line name=lines}
        <tr>
          <td class="num"><a id="l{$smarty.foreach.lines.iteration}" href="#l{$smarty.foreach.lines.iteration}" class="linenr">{$smarty.foreach.lines.iteration}</a></td>
-	 <td class="codeline">{$line|escape:'htmlall'}</td>
+	 <td class="codeline">{$line|escape:'html'}</td>
      {/foreach}
      </table>
    {/if}

--- a/templates/filediff.tpl
+++ b/templates/filediff.tpl
@@ -8,13 +8,13 @@
 <div class="pre">
 {foreach from=$diff item=diffline}
   {if substr($diffline,0,1)=="+"}
-    <span class="diffplus">{$diffline|escape:'htmlall'}</span>
+    <span class="diffplus">{$diffline|escape:'html'}</span>
   {elseif substr($diffline,0,1)=="-"}
-    <span class="diffminus">{$diffline|escape:'htmlall'}</span>
+    <span class="diffminus">{$diffline|escape:'html'}</span>
   {elseif substr($diffline,0,1)=="@"}
-    <span class="diffat">{$diffline|escape:'htmlall'}</span>
+    <span class="diffat">{$diffline|escape:'html'}</span>
   {else}
-    <span>{$diffline|escape:'htmlall'}</span>
+    <span>{$diffline|escape:'html'}</span>
   {/if}
 {/foreach}
 </div>

--- a/templates/rss.tpl
+++ b/templates/rss.tpl
@@ -15,12 +15,12 @@
 
     {section name=rssitem loop=$commitlines}
       <item>
-        <title>{$commitlines[rssitem].cdmday} {$commitlines[rssitem].cdmonth} {$commitlines[rssitem].cdhour}:{$commitlines[rssitem].cdminute} - {$commitlines[rssitem].title|escape:'htmlall'}</title>
-        <author>{$commitlines[rssitem].author|escape:'htmlall'}</author>
+        <title>{$commitlines[rssitem].cdmday} {$commitlines[rssitem].cdmonth} {$commitlines[rssitem].cdhour}:{$commitlines[rssitem].cdminute} - {$commitlines[rssitem].title|escape:'html'}</title>
+        <author>{$commitlines[rssitem].author|escape:'html'}</author>
         <pubDate>{$commitlines[rssitem].cdrfc2822}</pubDate>
         <guid isPermaLink="true">{$self}?p={$project}&amp;a=commit&amp;h={$commitlines[rssitem].commit}</guid>
         <link>{$self}?p={$project}&amp;a=commit&amp;h={$commitlines[rssitem].commit}</link>
-        <description>{$commitlines[rssitem].title|escape:'htmlall'}</description>
+        <description>{$commitlines[rssitem].title|escape:'html'}</description>
         <content:encoded>
           <![CDATA[
           {foreach from=$commitlines[rssitem].comment item=line}

comments