Changeset 7157

Show
Ignore:
Timestamp:
03/04/08 19:25:00 (7 months ago)
Author:
ryan
Message:

Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r7156 r7157  
    357357 */ 
    358358if (function_exists('mb_internal_encoding')) { 
    359     if (get_option('blog_charset')) 
    360         mb_internal_encoding(get_option('blog_charset')); 
    361     else 
     359    if (!@mb_internal_encoding(get_option('blog_charset'))) 
    362360        mb_internal_encoding('UTF-8'); 
    363361}