Drupal Install Error: Multibyte string input conversion

Below is the error to which I was referring during the tutorial on Drupal installation at last night’s meeting. Everytime I do a live install of 5.x, I get this error and then have to research the fix.

Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting. Please refer to the PHP mbstring documentation for more information. (Currently using Unicode library Error)

You can search the forums for a solution to this problem. You’ll see quite a few people are encountering this problem.

I poured through the various posts on the forums until I found a solution that worked.

Below is a post that I found that helped me resolve the error:

*****************************************************************

now my problem seems fixed

leighton - September 24, 2006 - 06:43

Thanks for replying. I have been reading the other articles, and luckily found out the solution. For the error , I just simply in the settings.php file and add these lines to the ini_set items ...

ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');

And its work for me, but I still cant find the reason why I can not upload......I am not a code people, but I rellay want to fix this problem. I will share the solution here if I can fix it myself. lol

*************************************************************************************************************************************

Of course the next thing is to find where the ‘ini_set’ items appear in the ‘settings.php’ file. I did a “find” search and found that they appear near the bottom of the file. I pasted in the two lines of code above, and viola! The error message diappeared…poof!

My question is this. Why doesn’t someone at Drupal just go ahead and add this code in, instead of making us all hunt for it each time we install??

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Good question. You should

Good question. You should post this in the Drupal issue queue here:

http://drupal.org/support

Under bug reports. This is the quickest way to get the attention of a Drupal core developer. I would also post this thread under the Drupal "post installation" forum.