Changeset 6552 in josm for trunk/src/org/openstreetmap/josm/io/session/SessionWriter.java
- Timestamp:
- 2013-12-28T00:30:15+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/session/SessionWriter.java
r6271 r6552 225 225 public void writeJos(Document doc, OutputStream out) throws IOException { 226 226 try { 227 OutputStreamWriter writer = new OutputStreamWriter(out, "utf-8");227 OutputStreamWriter writer = new OutputStreamWriter(out, Utils.UTF_8); 228 228 writer.write("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); 229 229 TransformerFactory transfac = TransformerFactory.newInstance();
Note:
See TracChangeset
for help on using the changeset viewer.