diff options
author | Alex Dowad <alexinbeijing@gmail.com> | 2020-10-18 14:41:40 +0200 |
---|---|---|
committer | Alex Dowad <alexinbeijing@gmail.com> | 2020-10-30 22:13:27 +0200 |
commit | 831abe2d905ad5e44f9eddaf7e6120866b6f9a06 (patch) | |
tree | 32495cd91a524c29f41beca1bae38cde757f3a8a /ext/openssl/php_openssl.h | |
parent | b5ff87ca71375bbc5cb6eee93f15aff1cb756bb9 (diff) | |
download | php-git-831abe2d905ad5e44f9eddaf7e6120866b6f9a06.tar.gz |
Add test suite for CP1252 encoding
Also remove a bogus test (bug62545.phpt) which wrongly assumed that all invalid
characters in CP1251 and CP1252 should map to Unicode 0xFFFD (REPLACEMENT
CHARACTER).
mbstring has an interface to specify what invalid characters should be
replaced with; it's called `mb_substitute_character`. If a user wants to see
the Unicode 'replacement character', they can specify that using
`mb_substitute_character`. But if they specify something else, we should
follow that.
Diffstat (limited to 'ext/openssl/php_openssl.h')
0 files changed, 0 insertions, 0 deletions