]> granicus.if.org Git - php/commit
Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails
authorAnatoliy Belsky <ab@php.net>
Tue, 8 May 2012 15:42:01 +0000 (17:42 +0200)
committerAnatoliy Belsky <ab@php.net>
Tue, 8 May 2012 15:42:01 +0000 (17:42 +0200)
commit3a4a25358fe3f389c434f68e59bfd70b25b93b29
tree4666620a0cca42b61b69be6083c9cef6a16aef31
parente120a0c7f30953774d3ff2ac1a14b2ab623a047c
Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails

There is a logic error in charset detection part for htmlentities.
When mbstring is compiled shared and mbstring.internal_encoding
is set to pass, it prevents default_charset from being checked
resulting iso-8859-1 being choosed.
ext/standard/html.c