moriyoshi Thu Oct 24 17:10:45 2002 EDT Modified files: /php4/ext/standard html.c Log: Fixed ISO-8859-1 handling. Index: php4/ext/standard/html.c diff -u php4/ext/standard/html.c:1.57 php4/ext/standard/html.c:1.58 --- php4/ext/standard/html.c:1.57 Thu Oct 24 15:52:30 2002 +++ php4/ext/standard/html.c Thu Oct 24 17:10:45 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.57 2002/10/24 19:52:30 moriyoshi Exp $ */ +/* $Id: html.c,v 1.58 2002/10/24 21:10:45 moriyoshi Exp $ */ #include "php.h" #include "reg.h" @@ -533,6 +533,9 @@ #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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php