jaco <[EMAIL PROTECTED]> wrote:
> Update of /usr/local/cvs/html/mmapps/xmlimporter/jsp
> In directory UE450:/tmp/cvs-serv256
> 
> Modified Files:
>       startimport.jsp 
> Log Message:
> Use FileInputStream instead of FileReader because FileReader is using the system 
> property file.encoding. If this property is set to ASCII all special characters are 
> going wrong.

> -      java.io.Reader readr = new FileReader(importFile);
> +      java.io.Reader readr = new InputStreamReader(new 
> FileInputStream(importFile),"ISO-8859-1");


I think ISO-8859-1 is wrong, because XML's should be encoded with UTF-8 (on
default, which only can be overriden with the <?xml header >).


Michiel

-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to