Changeset 6573
- Timestamp:
- 2004-01-21T16:48:50+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Dictionary.java
r6566 r6573 282 282 try { 283 283 String initial = dictionary.getString(key); 284 284 285 // If the string contains arguments we have to insert them. 285 286 String complete = ""; … … 324 325 } 325 326 } 326 return complete + initial; 327 complete = complete + initial; 328 329 String unicode = null; 330 try { 331 unicode = new String(complete.getBytes(), "UTF-8"); 332 } 333 catch (Exception ex) { 334 System.err.println("Something bad. " + ex); 335 Gatherer.printStackTrace(ex); 336 return initial; 337 } 338 return unicode; 327 339 } 328 340 catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.