Changeset 3122 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2010-03-12T12:00:43+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r2626 r3122 7 7 import java.awt.BorderLayout; 8 8 import java.awt.EventQueue; 9 import java.io.UnsupportedEncodingException; 9 10 10 11 import javax.swing.JEditorPane; … … 68 69 Main.pref.putInteger("cache.motd.html.version", myVersion); 69 70 Main.pref.put("cache.motd.html.lang", myLang); 70 71 return motd.getBytes(); 71 try { 72 return motd.getBytes("utf-8"); 73 } catch(UnsupportedEncodingException e){ 74 e.printStackTrace(); 75 return new byte[0]; 76 } 72 77 } 73 78
Note:
See TracChangeset
for help on using the changeset viewer.