Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes to Chinese Codification #3

Merged
merged 1 commit into from Nov 6, 2021
Merged

changes to Chinese Codification #3

merged 1 commit into from Nov 6, 2021

Conversation

jorgedelacalle
Copy link

This changes repair problems with some characters in GB2312 codification using GB18030.

@@ -35,7 +35,7 @@ class MbWrapper
public static $mbAliases = [
// supported but not included in mb_list_encodings for some reason...
'CP850' => 'CP850',
'GB2312' => 'GB2312',
'GB2312' => 'GB18030',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change provides a supported encoding, so can move down in the list.

@mrCartmenez
Copy link

GB18030 is supported in PHP and backwards compatible with GB2312.
https://www.iana.org/assignments/charset-reg/GB18030

@zbateson zbateson merged commit bd15793 into zbateson:master Nov 6, 2021
@zbateson
Copy link
Owner

zbateson commented Nov 6, 2021

Sorry, didn't notice your pull request before today. Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants