Ignore:
Timestamp:
12/13/11 16:51:45 (13 years ago)
Author:
sherbold
Message:
  • now specifies character encoding of file explicitly instead of assuming default encoding
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/CommandHistoryDialog.java

    r287 r309  
    137137                                        OutputStreamWriter writer = null; 
    138138                                        try { 
    139                                                 writer = new OutputStreamWriter(new FileOutputStream(file)); 
     139                                                writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); 
    140140                                        } catch (IOException e) { 
    141141                                                Console.printerrln("Unable to open file for writing (read-only file):" 
Note: See TracChangeset for help on using the changeset viewer.