mbstring to UTF-8

Not particularly a problem, but in setup I get the alert:-
mbstring.internal_encoding to UTF-8 in your php.ini file recommended.
My PHP 5.9 info files include the following:-
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

However I find no mention of any UTF-8 reference in the php.ini files.

Can you see anything I can modify; it is not really important but it intrigues me!

thanks jeffjohn

Comments

  • `mbstring.internal_encoding no value no value`

    this is what you should change.
  • thanks sbillard; how do I do this exactly?
  • Your site should provide an editor for changing the PHP.ini file. You will find a line there for hte mbstring.internal_encoding setting. Change it to be UTF-8. You may need to contact your provider if you cannot find the PHP.ini file or editor.
  • Many thanks sbillard; setup runs without any alerts now after adding the line to php.ini. If I might risk another query, going to admin -> 'check updates', I see the following fault msg:- Fatal error: Call to undefined function sprinf() in C:\Program Files\Abyss Web Server\htdocs\zenphoto\zp-core\admin.php on line 1092

    Are you able to give me information on this, please? thanks again - brilliant application - jeffjohn
  • acrylian Administrator, Developer
    That's actually a typo, should be "sprintf". But admin.php does not have a line 1092, there are only 507.... Since you did not say which Zenphoto version you are using you might try the nightly as this typo seems to be already fixed.
  • thanks again - upgraded and no problems now. jeffjohn
  • As an alternative, this line seems to work, if you add it to the .htaccess file:
    PHP_VALUE mbstring.internal_encoding UTF-8
  • Thanks for this hack mikeque ;-)

    Laurent
Sign In or Register to comment.