mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
change default charset from utf8 to iso-8859-1
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
* @param html|htmlall|url|quotes|hex|hexentity|javascript
|
* @param html|htmlall|url|quotes|hex|hexentity|javascript
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'UTF-8')
|
function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1')
|
||||||
{
|
{
|
||||||
switch ($esc_type) {
|
switch ($esc_type) {
|
||||||
case 'html':
|
case 'html':
|
||||||
|
Reference in New Issue
Block a user