Changeset 23763


Ignore:
Timestamp:
03/08/11 16:29:25 (10 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.