multibyte bug in @escape:htmlall ?
Posted: Fri Sep 01, 2006 10:52 pm
Hi
I've found that there is probably bug in the @escape:htmlall when using multibyte encoding (UTF-8). The text in alert() window is broken. You can see at http://syslog.eu/archives/32-Solaris-Vo ... disku.html by clicking on link "Odezva ze specifického URI na tento záznam"
The code is:
templates/contest/entries.tpl: <a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}" >{$CONST.TRACKBACK_SPECIFIC}</a>
I've found that there is probably bug in the @escape:htmlall when using multibyte encoding (UTF-8). The text in alert() window is broken. You can see at http://syslog.eu/archives/32-Solaris-Vo ... disku.html by clicking on link "Odezva ze specifického URI na tento záznam"
The code is:
templates/contest/entries.tpl: <a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}" >{$CONST.TRACKBACK_SPECIFIC}</a>