Closed GoogleCodeExporter closed 9 years ago
> The chr(161) is a normal ascii character ("á") which is quite common in some
languages
No it's not ASCII, it's ISO-8859-1. ASCII doesn't contain any chars above 127.
Smarty can change charset using the $_CHARSET static class property, which I
think is what you're looking for:
Smarty::$_CHARSET = 'utf-8';
That property is used everywhere, including in htmlspecialchars.
Smarty docs on charsets are here:
http://www.smarty.net/docs/en/charset.tpl#charset.encoding but it's out of date
and doesn't match what's in the code, though it will still work.
You need to have a pretty good reason not to use UTF-8 these days.
Original comment by marcus.b...@gmail.com
on 24 Sep 2013 at 12:31
Original comment by Uwe.Tews@googlemail.com
on 7 Nov 2013 at 9:53
Original issue reported on code.google.com by
csongor....@gmail.com
on 18 Feb 2013 at 2:53