From: Moriyoshi Koizumi Date: Thu, 24 Oct 2002 21:10:45 +0000 (+0000) Subject: Fixed ISO-8859-1 handling. X-Git-Tag: php-4.3.0pre2~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=429f8fa6d72e766b4d8cedaabc24479fe3fb47e0;p=php Fixed ISO-8859-1 handling. --- diff --git a/ext/standard/html.c b/ext/standard/html.c index 0eace4b9af..04af990cd1 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -533,6 +533,9 @@ static enum entity_charset determine_charset(char *charset_hint TSRMLS_DC) #if HAVE_MBSTRING /* XXX: Ugly things. Why don't we look for a more sophisticated way? */ switch (MBSTRG(internal_encoding)) { + case mbfl_no_encoding_8859_1: + return cs_8859_1; + case mbfl_no_encoding_utf8: return cs_utf_8;