moriyoshi Mon Nov 11 08:31:10 2002 EDT Modified files: /php4/ext/standard html.c Log: Added support for windows code pages. Index: php4/ext/standard/html.c diff -u php4/ext/standard/html.c:1.62 php4/ext/standard/html.c:1.63 --- php4/ext/standard/html.c:1.62 Mon Nov 11 08:28:34 2002 +++ php4/ext/standard/html.c Mon Nov 11 08:31:08 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.62 2002/11/11 13:28:34 moriyoshi Exp $ */ +/* $Id: html.c,v 1.63 2002/11/11 13:31:08 moriyoshi Exp $ */ #include "php.h" #include "reg.h" @@ -288,11 +288,15 @@ { "utf-8", cs_utf_8 }, { "cp1252", cs_cp1252 }, { "Windows-1252", cs_cp1252 }, + { "1252", cs_cp1252 }, { "BIG5", cs_big5 }, + { "950", cs_big5 }, { "GB2312", cs_gb2312 }, + { "936", cs_gb2312 }, { "BIG5-HKSCS", cs_big5hkscs }, { "Shift_JIS", cs_sjis }, { "SJIS", cs_sjis }, + { "932", cs_sjis }, { "EUCJP", cs_eucjp }, { "EUC-JP", cs_eucjp }, { NULL }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php