Changeset 18421


Ignore:
Timestamp:
01/27/09 12:11:32 (12 years ago)
Author:
kjdon
Message:

doc xml files should always be utf-8 so add an encoding to getDOM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/service/GS2LuceneRetrieve.java

    r15326 r18421  
    123123        throw new Exception("Doc XML file "+doc_xml_file.getPath()+" does not exist");
    124124        }
    125         Document doc_xml_doc = this.converter.getDOM(doc_xml_file);
     125        Document doc_xml_doc = this.converter.getDOM(doc_xml_file, "utf-8");
    126126        if (doc_xml_doc == null) {
    127127        throw new Exception("Couldn't parse file "+doc_xml_file.getPath());
Note: See TracChangeset for help on using the changeset viewer.