Changeset 30678 in osm for applications/editors/josm/plugins/CommandLine
- Timestamp:
- 2014-09-23T17:09:36+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java
r30677 r30678 550 550 final OutputStream outputStream = tp.process.getOutputStream(); 551 551 PrintWriter printWriter = null; 552 try { printWriter = new PrintWriter(new OutputStreamWriter(outputStream, "utf-8")); } 553 catch (Exception e) {e.printStackTrace();} 552 try { 553 printWriter = new PrintWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)); 554 } catch (Exception e) { 555 Main.error(e); 556 } 554 557 final OsmWriter osmWriter = OsmWriterFactory.createOsmWriter(printWriter, true, null); 555 558 Collection<OsmPrimitive> refObjects = currentCommand.getDepsObjects();
Note:
See TracChangeset
for help on using the changeset viewer.