Update of /var/cvs/contributions/CMSContainer_Modules/dataconversion/src/java/com/finalist/cmsc/dataconversion/service In directory james.mmbase.org:/tmp/cvs-serv2526/service
Modified Files: Conversion.java Log Message: CMSC-1166, KNMI migration to the CMS Container,deal with charaterset See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/dataconversion/src/java/com/finalist/cmsc/dataconversion/service See also: http://www.mmbase.org/jira/browse/CMSC-1166 Index: Conversion.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Modules/dataconversion/src/java/com/finalist/cmsc/dataconversion/service/Conversion.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- Conversion.java 28 Nov 2008 07:30:44 -0000 1.5 +++ Conversion.java 18 Dec 2008 07:11:44 -0000 1.6 @@ -66,6 +66,8 @@ dom = XMLParser.parseXMLToDOM(context.getResourceAsStream(IMPORT_FILE)); // XMLParser.DTDValidator(dom); Element element = (Element) dom.getElementsByTagName("import").item(0); + String encoding=element.getAttribute("encoding"); + DataAccessor.encoding=encoding; NodeList list = element.getChildNodes(); List<Data> sources = new ArrayList<Data>(); List<Data> clondSources = new ArrayList<Data>(); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs