Re: internal channels and charactersets problems

Jan Schneider <[email protected]> Thu, 14 Aug 2003 01:14:52 +0200
Newsgroups gmane.comp.horde.jonah
Message-ID <[email protected]>
Zitat von pete <[email protected]>:

> I had also some characterset-problems with skandinavian letters. I tried
> to turn
> UTF-8 option on in /horde/config/nls.php, but it didn't help.
> I don't quite know how setting the characterset is coordinated in the
> whole
> framework, but I didn't get rid of the problem before I set UTF-8 to
> ISO-8859-1
> in two files
>
> in /lib/RSS.parser line 70:
> xml_parser_set_option($this->parser, XML_OPTION_TARGET_ENCODING,
> 'ISO-8859-1');
>
> ..and in lib/News.php: return String::convertCharset($output,
> 'ISO-8859-1');

Without looking at the code or the affected channels, I guess that the
according rss feeds have no charset attribute in the xml tag, so that the
parser can't detect it itself.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
Jonah mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]