Changeset 15791 in josm
- Timestamp:
- 2020-01-28T00:39:43+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Logging.java
r15590 r15791 7 7 import java.io.PrintWriter; 8 8 import java.io.StringWriter; 9 import java.io.UnsupportedEncodingException; 9 10 import java.text.MessageFormat; 10 11 import java.util.ArrayList; … … 88 89 this.prioritizedHandler = prioritizedHandler; 89 90 91 try { 92 // Make sure we use the correct console encoding on Windows 93 this.setEncoding(System.getProperty("sun.stdout.encoding")); 94 } catch (SecurityException | UnsupportedEncodingException e) { 95 System.err.println(e); 96 } 90 97 this.reacquireOutputStream(); 91 98 }
Note:
See TracChangeset
for help on using the changeset viewer.