Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/StyledText.d

    r230 r238  
    852852                } 
    853853                write("\\u"); 
    854                 write( to!(char[])( cast(short)ch )); 
     854                write( to!(String)( cast(short)ch )); 
    855855                write(' ');                     // control word delimiter 
    856856                start = index + incr; 
     
    881881        // specify code page, necessary for copy to work in bidi 
    882882        // systems that don't support Unicode RTF. 
    883         // PORTING_TODO: char[] cpg = System.getProperty("file.encoding").toLowerCase(); 
    884         char[] cpg = "UTF16"; 
     883        // PORTING_TODO: String cpg = System.getProperty("file.encoding").toLowerCase(); 
     884        String cpg = "UTF16"; 
    885885        /+ 
    886886        if (cpg.startsWith("cp") || cpg.startsWith("ms")) {