Development

Changeset 1144

You must first sign up to be able to contribute.

Changeset 1144

Show
Ignore:
Timestamp:
04/07/06 11:30:45 (3 years ago)
Author:
fabien
Message:

changed default charset to utf-8 in escaping

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/response/sfWebResponse.class.php

    r1143 r1144  
    358358      if (!$doNotEscape) 
    359359      { 
    360         $value = htmlentities($value, ENT_QUOTES); 
     360        $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); 
    361361      } 
    362362 
     
    376376    if (!$doNotEscape) 
    377377    { 
    378       $title = htmlentities($title, ENT_QUOTES); 
     378      $title = htmlentities($title, ENT_QUOTES, 'UTF-8'); 
    379379    } 
    380380