Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 31st, 2012  |  syntax: Diff  |  size: 0.42 KB  |  views: 176  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- i18n.php.bak        2012-08-31 21:02:46.000000000 +0300
  2. +++ i18n.php    2012-08-31 21:01:40.000000000 +0300
  3. @@ -184,7 +184,7 @@
  4.      }
  5.  
  6.      /* All HTML special characters are 7 bit and can be replaced first */
  7. -    if (! $save_html) $string = htmlspecialchars ($string);
  8. +    if (! $save_html) $string = htmlspecialchars ($string,ENT_COMPAT,'iso-8859-1');
  9.      $charset = strtolower($charset);
  10.  
  11.      set_my_charset();