On 12.01.2011 02:04, Cédrick Béler wrote:




Le 11 janv. 2011 à 20:20, Henrik Sperre Johansen <[email protected] <mailto:[email protected]>> a écrit :

On 11.01.2011 16:58, Cédrick Béler wrote:

Create a file "test.xml" with the following
contents (german umlaut):


<?xml version="1.0" encoding="iso-8859-1"?>
<test><![CDATA[Zaunkönig]]></test>

After loading ConfigurationOfXML try to parse it:

|fs|
fs := FileStream fileNamed: 'test.xml'.
XMLDOMParser parseDocumentFrom:

Actually, I tried from a file, and it works too.
Pharo 1.1, Cog, OSX, recent version of XML support (from squeaksource)

Cheers,

Cédrick

Then the file you created was not actually 8859-1 encoded, but rather in utf8.
Try with the attached.

Cheers,
Henry
<?xml version="1.0" encoding="iso-8859-1"?>
   <test><![CDATA[Zaunkönig]]></test>

Reply via email to