Changeset 9050


Ignore:
Timestamp:
2005-02-16T09:13:34+13:00 (19 years ago)
Author:
kjdon
Message:

modified the get method to convert to utf-8, so other languages should work now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/Dictionary.java

    r5108 r9050  
    5959    }
    6060    try {
    61         String initial = this.raw.getString(key);
     61        String initial_raw = this.raw.getString(key);
     62        // convert to unicode, copied from gatherer dictionary
     63        String initial = new String(initial_raw.getBytes("ISO-8859-1"), "UTF-8");
    6264        // If the string contains arguments we have to insert them.
    6365        String complete = "";
Note: See TracChangeset for help on using the changeset viewer.