Sven Rautenberg: Umlaute bei SAX

Beitrag lesen

Moin!

Wenn ich ein XML-File mit Umlauten parse, reißt SAX Tags auseinander:

<titel>Entität</titel>

Das ergibt Entit und ät.

Wo?

Das XML-File hat als Encoding UTF-8 (ist auch als UTF-8 gespeichert), und SAX wird mit xml_parser_create('UTF-8'); eingerichtet.

Wer weiß, woran das liegt?

Mehr Code! Mehr Infos! Dann gibts auch mehr Hilfe.

- Sven Rautenberg

--
"Love your nation - respect the others."