Changeset 2196


Ignore:
Timestamp:
12/24/08 23:22:20 (3 years ago)
Author:
azawawi
Message:

Fix to ticket #187. (http://padre.perlide.org/ticket/187)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Output.pm

    r2184 r2196  
    4141sub AppendText { 
    4242    my ($self, $text) = @_; 
    43     my $string = decode("utf8", $text); 
     43    my $string = utf8::is_utf8($text) ? $text : decode('utf8', $text); 
    4444    $self->SUPER::AppendText($string); 
    4545} 
Note: See TracChangeset for help on using the changeset viewer.