-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Fix encoding bug #173
base: master
Are you sure you want to change the base?
Fix encoding bug #173
Conversation
in_array() is case-sensitive and $parameters['charset'] is lower-case while mb_list_encodings() is upper-case
Fixes #148 |
👍 Although probably might be better to use |
thanks for bug resolution! it should be merged. |
so has this fix been merged or not? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output of mb_list_encodings() must be converted to upper-case too, because not all encodings returned are upper-case. For example, "Windows-1251".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good.
Will this PR ever be merged & closed? |
in_array() is case-sensitive and $parameters['charset'] is lower-case while mb_list_encodings() is upper-case