-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Did you probably save the xml file with UTF-8 encoding? ................................... : ___ _ ___ ___ ___ _ ___ : : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : :........:........................: : Web : http://www.dasprids.de : : E-mail : m...@dasprids.de : : Jabber : jab...@dasprids.de : : ICQ : 105677955 : :........:........................:
Kostyantyn Shakhov schrieb: > My view templates are in ISO-8859-1. I need to display a value from > the xml config file on the page. The file is in the same enoding: > <?xml version="1.0" encoding="iso-8859-1"?>. The value contains French > é character. On the page it's displayed wrong as é and just fine if I > change encoding to UTF-8 in the browser. Thus, it looks like > Zend_Config_Xml which is used to parse the file converts it to UTF-8 > internally. I cannot set the file encoding to ISO-8859-1 explicitly > because Zend_Config_Xml doesn't have a method to do it. Does anybody > have an idea how to fix this? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkml+cMACgkQ0HfT5Ws789C/lQCgwQIPwpMK6lXt9y1f+t8xFwvK cTIAnArJsSXOFtcsz+sXZfe1oa9DH6e8 =+BmZ -----END PGP SIGNATURE-----