Changeset 22847 for src

Show
Ignore:
Timestamp:
11/01/08 19:01:07 (2 months ago)
Author:
lwall
Message:

[STD_syntax_highlight] convert text to utf8 so that we don't get mojibake on

t/spec/S02-lexical-conventions/unicode.t

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/STD_syntax_highlight

    r22842 r22847  
    102102 
    103103    # slurp the file for redspans 
    104     $src_text = read_file($file); 
     104    $src_text = Encode::decode('utf8', read_file($file) ); 
     105 
    105106    $loc[length($src_text) - 1] = []; 
    106107