[TYPO3-german] RSS plugin und uft-8 code

Thomas Watz unettw01 at dialego.de
Tue Oct 24 16:37:49 CEST 2006


Dirk Reichel schrieb:
> Hi Thomas,
> 
> was passiert denn bei folgendem:
> xml_parser_set_option($this->parser, XML_OPTION_TARGET_ENCODING, "UTF-8");
> 
> Viele Grüße
> Dirk

Hallo,

die Lösung war folgendes:

        function set_parser() {
             $this->parser = xml_parser_create('UTF-8');
	    ....
        }

Wir arbeiten noch mit PHP4 und ich hatte was im Internet gefunden, das 
auf einen bug hinwies, der die Angabe des encoding in 
xml_parser_create() verlangt.

Danach lief es. Danke für deine hilfe.

Gruß, Thomas



More information about the TYPO3-german mailing list