From: Moriyoshi Koizumi Date: Mon, 11 Nov 2002 13:31:08 +0000 (+0000) Subject: Added support for windows code pages. X-Git-Tag: php-4.3.0RC1~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f300bdce82e381081241b79f0ac7769bb1a8851b;p=php Added support for windows code pages. --- diff --git a/ext/standard/html.c b/ext/standard/html.c index 4ffd83bb3c..33747df887 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -288,11 +288,15 @@ static const struct { { "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 }