Solved

unicode library error

Posted on 2007-11-24
5
580 Views
Last Modified: 2012-08-13
i'm getting the following error in my drupal set up:

--------------------------
Unicode library      Error
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.
--------------------------

i read about multibyte strings. if i understand it correctly i probably have nothing to worry about unless i put added a language like chinese or some other that doesn't fit into 256 bits.

am i correct? i'm on a shared host. do need to tell them to disable mbstring.http_input?

thanks for your help.
tony
0
Comment
Question by:tjazzvibe
  • 3
  • 2
5 Comments
 
LVL 20

Accepted Solution

by:
steelseth12 earned 500 total points
ID: 20346393
Yes mbstring is for languages such as chinese , japanese etc.

Did a search for your specific problem and it  seems that if you set

mbstring.http_input ='pass' it should do the trick.

http://www.nabble.com/Turning-off-multibyte-support--t4788384.html
0
 

Author Comment

by:tjazzvibe
ID: 20347133
i added your code but it created an error. i found this code and the message is gone!
php_value mbstring.http_input pass
php_value mbstring.http_output pass

thanks for your help! i really appreciate it!
0
 
LVL 20

Expert Comment

by:steelseth12
ID: 20347137
You would put this in php.ini
mbstring.http_input ='pass'

this you would put in .htaccess

php_value mbstring.http_input pass
0
 

Author Closing Comment

by:tjazzvibe
ID: 31410826
the code he supplied didn't work but he did all the research for me, so when i looked over what he sent i could figure everything out! it was great!
0
 

Author Comment

by:tjazzvibe
ID: 20347330
oh man, i'm sorry !!!  i misunderstood you. my fault.

well anyway the site works now and you were a big help.

thanks so much
tony
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now