Changeset 23763

Show
Ignore:
Timestamp:
08.03.2011 16:29:25 (8 years ago)
Author:
sjm84
Message:

Fixed a visual issue in GLI that was preventing some characters from displaying properly in the Enrich metadata table, despite being correct in the file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/metadata/DocXMLFile.java

    r22314 r23763  
    7575    DebugStream.println("Applicable file: " + this); 
    7676    try { 
    77         BufferedReader buffered_reader = new BufferedReader(new FileReader(this)); 
     77        BufferedReader buffered_reader = new BufferedReader(new InputStreamReader(new FileInputStream(this), "UTF-8")); 
    7878 
    7979        int description_element_num = 0; 
     
    180180    DebugStream.println("Skimming " + this + "..."); 
    181181    try { 
    182         BufferedReader buffered_reader = new BufferedReader(new FileReader(this)); 
     182        BufferedReader buffered_reader = new BufferedReader(new InputStreamReader(new FileInputStream(this), "UTF-8")); 
    183183        int description_element_start = -1; 
    184184