Changeset 418 for trunk/EventBenchConsole/src
- Timestamp:
- 07/16/12 13:16:35 (12 years ago)
- Location:
- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/LogPreprocessor.java
r403 r418 89 89 FileNotFoundException { 90 90 OutputStreamWriter targetFile = new OutputStreamWriter( 91 new FileOutputStream(target), "UTF- 16");92 targetFile.write("<?xml version=\"1.0\" encoding=\"UTF- 16\"?>"91 new FileOutputStream(target), "UTF-8"); 92 targetFile.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" 93 93 + StringTools.ENDLINE); 94 94 targetFile.write("<log>" + StringTools.ENDLINE); … … 119 119 FileNotFoundException { 120 120 OutputStreamWriter targetFile = new OutputStreamWriter( 121 new FileOutputStream(target), "UTF- 16");122 targetFile.write("<?xml version=\"1.0\" encoding=\"UTF- 16\"?>"121 new FileOutputStream(target), "UTF-8"); 122 targetFile.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" 123 123 + StringTools.ENDLINE); 124 124 targetFile.write("<log>" + StringTools.ENDLINE); -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/MFCLogParser.java
r403 r418 240 240 saxParser = spf.newSAXParser(); 241 241 inputSource = new InputSource(new InputStreamReader( 242 new FileInputStream(filename) , "UTF-16"));243 } catch (UnsupportedEncodingException e) {244 e.printStackTrace();242 new FileInputStream(filename)));//, "UTF-8")); 243 //} catch (UnsupportedEncodingException e) { 244 // e.printStackTrace(); 245 245 } catch (ParserConfigurationException e) { 246 246 e.printStackTrace();
Note: See TracChangeset
for help on using the changeset viewer.