Annotation of ports/mail/squirrelmail/patches/patch-functions_i18n_php, Revision 1.1
1.1 ! kirby 1: $OpenBSD$
! 2: --- functions/i18n.php.orig Thu Oct 10 07:53:21 2013
! 3: +++ functions/i18n.php Thu Oct 10 07:53:57 2013
! 4: @@ -184,7 +184,7 @@ function charset_decode ($charset, $string, $force_dec
! 5: }
! 6:
! 7: /* All HTML special characters are 7 bit and can be replaced first */
! 8: - if (! $save_html) $string = htmlspecialchars ($string);
! 9: + if (! $save_html) $string = htmlspecialchars ($string, ENT_COMPAT, 'ISO-8859-1');
! 10: $charset = strtolower($charset);
! 11:
! 12: set_my_charset();
CVSweb