Hi Guys

I am a newbie. So please do not mind if I ask really simple stuff.

After the drupal installation. In the status report I am getting the following error in Unicode Library

"Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.encoding_translation setting. Please refer to the PHP mbstring documentation for more information. "

I contacted my web hosting help desk, they replied as follows
In order to do this you have to create a custom php.ini file in the installation folder of the script with this content in it:

mbstring.http_input = pass mbstring.http_output = pass

This should solve the problem.

So I have created php.ini file in the installation directory and now I need to know, what should I do to remove this error from status report.

Thank you.
Masood

Comments

masoodx’s picture

Do not worry I got this fixed now.

kursat’s picture

Here is the solution

On localhost open software installer (i use fedora ie)
on search look for php mbstring
there select it and system automatically installs it.

On a remote server
find file named from internet/or your favorite repository

php-mbstring-5.2.5-1.i386.rpm

(5.2.5-1 is my current php version)
then as a root user
install it with rpm command.

That s all folks

dynv’s picture

Warning

Here's the drawback from not paying attention to the following warning:

Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.

Quoted from this comment in "Unicode library" in Status report?:

VeryMisunderstood

the mbstring extension has to do with multibyte characters in internationalization of Drupal. In other words languages. What will using it give you ? The ability to internationalize your site.

WHat risk do you run if you don't install it ? you site wont work with internationalization. In other words as the internet moves forward with multi language sites to reach a larger target audience, you will be left behind as your site will only work 100% properly in English.

Not so good workaround

Here's the drawback from using the settings.ini ini_set('mbstring.http_input','pass');ini_set('mbstring.http_output','pass'); workaround from the first two comments from Drupal 5.X Installation problems 'mbstring' error:

VeryMisunderstood

yes you can live without clean urls, however, you may find other serious limitations on a "free" host. They are typically more restricting then a shred host.

rosgar

If you're using imagecache module.

'Imagecache will not operate properly if Clean URLs is not enabled on your site.'

Solution

Do as the warning stated and demand your host to install the library. Some hosts might feel entitled to their conservative ways but there's some that will be happy to accommodate you and you can use this for leverage if the demand is not met.

I also documented this on my website: http://www.williamcarrier.com/