Skip to content
Advertisement

Tag: mbstring

PHP function to adapt texte not working with special characters?

i’m struggling with a function that adapts a text depending of the first letter of a string. OUTPUT: de élo � EXPECTED OUTPUT: d’élo é Basically, mb_strtolower should prevent all special characters to be miss-read. I tried different options, but i still get it wrong. I’d like the function to work with all accent types. Any idea ? Thanks a

Composer Install – requires ext-mbstring

I am trying to do a composer install …, but getting an error of requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. I am using Apache (Cpanel) and PHP 5.6. Below are the ways I am trying to fix the error. 1: yum search mbstring 2: yum install ea-php56-php-mbstring.x86_64 It seems mbstring is installed

Unable to call the built in mb_internal_encoding method?

I’m trying to install indefero on a CentOS 5.3 VMware ‘box’ and I ran into a problem. Quite early in the installation I get an error that I’ve been able to narrow down to this: I get the same error when calling this script via http through Apache. Now according to the PHP manual the mb_internal_encoding function should be a

Advertisement