Changeset 6581


Ignore:
Timestamp:
09/23/15 09:28:17 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/PostProcessorsWithVocabularyMap.java

    r6561 r6581  
    22
    33import java.io.InputStream;
     4import java.io.InputStreamReader;
     5import java.io.Reader;
    46import java.util.Map;
    57import java.util.Map.Entry;
     
    4446                        // in the future this should be loaded from CLAVAS directly and the file only used as fallback                 
    4547                        InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl);
    46                         return VariantsMapMarshaller.unmarshal(is);                     
     48                        Reader reader = new InputStreamReader(is, "UTF-8");
     49                        return VariantsMapMarshaller.unmarshal(reader);                 
    4750             } catch (Exception e) {
    4851            throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset for help on using the changeset viewer.