? Success

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
12 Mar 2015

In PHP 5.6 the internal encoding is deprecated which can result in an error message. The setting default charset should be used instead. Documentation can be found here http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding

avatar laoneo laoneo - open - 12 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 12 Mar 2015

Could you send a PR for this to the upstream vendor repo (https://github.com/joomla-framework/string) please? Files within the libraries/vendor folder are external resources to the CMS repo.

Since all of those settings are deprecated, I'd also suggest just wrapping the whole block in a version_compare check; if PHP 5.6 just set default_charset otherwise try and check the other existing conditions.

avatar jhasenbach
jhasenbach - comment - 12 Mar 2015

Works for me. Good Job.

avatar laoneo laoneo - reference | 6c72f82 - 12 Mar 15
avatar laoneo
laoneo - comment - 12 Mar 2015

Done.

@jhasenbach can you please add the comment there that it works on your site too. Thank you.

avatar laoneo laoneo - change - 12 Mar 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-03-12 14:55:36
avatar laoneo laoneo - close - 12 Mar 2015
avatar laoneo laoneo - close - 12 Mar 2015
avatar laoneo laoneo - head_ref_deleted - 17 Mar 2015

Add a Comment

Login with GitHub to post a comment