mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
fb9bf5b64b
The introduced checks were not correct in two respects: * It was checked whether the source encoding of the string matches the internal encoding, while the actually relevant encoding is the *target* encoding. * Even if the correct encoding is used, the checks are still too conservative. Just because something is not a "Unicode-encoding" does not mean that it does not map any non-ASCII characters. I've reverted the added checks and instead adjusted mbfl_convert to first try to use the provided substitution character and if that fails, perform the fallback to '?' at that point. This means that any codepoint mapped in the target encoding should now be correctly supported and anything else should fall back to '?'. |
||
---|---|---|
.. | ||
filters | ||
mbfl | ||
nls | ||
tests | ||
AUTHORS | ||
buildconf | ||
config.h.in | ||
config.h.w32 | ||
configure.ac | ||
DISCLAIMER | ||
INSTALL | ||
LICENSE | ||
Makefile.am | ||
NEWS | ||
README |
This is Libmbfl, a streamable multibyte character code filter and converter library. See LICENSE and DISCLAIMER for licensing information. See the file INSTALL for building and installation instructions. # $Id$