Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

unicode library error

Posted on 2007-11-24
5
Medium Priority
?
819 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

916 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