Skip to content

Commit 1a8d2d2

Browse files
authored
Add GB18030-2022 to default encoding list for CN
1 parent ada7400 commit 1a8d2d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ static const enum mbfl_no_encoding php_mb_default_identify_list_cn[] = {
116116
mbfl_no_encoding_ascii,
117117
mbfl_no_encoding_utf8,
118118
mbfl_no_encoding_euc_cn,
119-
mbfl_no_encoding_cp936
119+
mbfl_no_encoding_cp936,
120+
mbfl_no_encoding_gb18030_2022
120121
};
121122

122123
static const enum mbfl_no_encoding php_mb_default_identify_list_tw_hk[] = {

0 commit comments

Comments
 (0)