Changeset 392 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands/CMDpreprocessJFC.java
- Timestamp:
- 03/08/12 09:21:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands/CMDpreprocessJFC.java
r309 r392 17 17 /** 18 18 * <p> 19 * Command to pre-process files written by EventBench's JFCMonitor. The only task20 * of the pre-processing is checking if the session was closed properly, i.e.,21 * i f the XML file ends with a {@code </sessions>} tag. If this is not the case,22 * the tag will be appended to the file.19 * Command to pre-process files written by EventBench's JFCMonitor. The only 20 * task of the pre-processing is checking if the session was closed properly, 21 * i.e., if the XML file ends with a {@code </sessions>} tag. If this is not the 22 * case, the tag will be appended to the file. 23 23 * </p> 24 24 * … … 70 70 try { 71 71 FileOutputStream fos = new FileOutputStream(target); 72 writer = new OutputStreamWriter(fos, "UTF- 16");72 writer = new OutputStreamWriter(fos, "UTF-8"); 73 73 } catch (IOException e) { 74 74 Console.printerrln(e.getMessage());
Note: See TracChangeset
for help on using the changeset viewer.