Re: utf8

holger krekel <[email protected]> Fri, 1 Nov 2002 09:18:04 +0100
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
[Christian Zonsius Fri, Nov 01, 2002 at 08:31:51AM +0100]
> hi,
> 
> i tried the bxe behavior when entering special chars like "äöü" and it seems 
> strange. when pressing save, bxe utf8 encodes the chars, but on load again, 
> the text isnt utf8 decoded. the reason for this seems the encoding definiton 
> in xml file (or xml snippet which is passed to save.php (wyona method)). here 
> it should be utf8 instead of iso 8859 1.

Yes, you are right.  And also note that the wyona.js and http.js methods
of saving *always* send utf8 encoded strings no matter what the
xml-processing instruction says.  So probably there is a mismatch
on the server side where the xml document states it's ISO-8859-1 encoded
but really is utf8 (due to the XMLHttpRequest.send method).
When i changed all the transformations to produce utf8 as
the xml-encoding it didn't work. Don't know why, though.
But i recommend using UTF8 everywhere. 

regards,

    holger
-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev