views:

71

answers:

1

Hi ,

I am trying to load hebrew rss using the fllow :

Xml.parse(_InputStream, Xml.Encoding.ISO_8859_1 , root.getContentHandler());

taken from ibm site : link text

I would like to use other Encoding like "ISO8859_8" rather than :

Xml.Encoding.ISO_8859_1,

Xml.Encoding.US_ASCII,

Xml.Encoding.UTF_16,

Xml.Encoding.UTF_8

Thanks a lot!

A: 

you can't, because Xml.Encoding is an enum. you'll have to use one of the other methods, or -- if you can -- get the RSS feed producer to output UTF-8.

Elliott Hughes
Thanks, I want back to XML DOM method that solve my problem.
Zohar Adar