Changeset 4962

Show
Ignore:
Timestamp:
11/02/09 05:03:31 (4 weeks ago)
Author:
asawada
Message:

Do decode_utf8 If textfilters returns non utf8 string. bugzid:102959.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/lib/MT.pm

    r4949 r4962  
    20092009        $str = $code->( $str, @extra ); 
    20102010    } 
     2011    $str = Encode::decode_utf8($str) 
     2012        if !Encode::is_utf8($str); 
    20112013    return $str; 
    20122014}