Re: xsl transformation and special characters

David Carlisle wrote:
>>we have observed that most browsers do honour always the encoding 
>>given in the file even though the server gives a different header
> 
> touchy subject that. The XML spec states _explictly_ that a browser
> should ignore the file and believe the server if they differ, lots of
> people think this is wrong as it's easy (say for XSLT) to put the right
> xml declaration in the file, but it's a lot harder for people to make
> sure when they upload to a server that it is served with the correct
> header. So many browsers ignore the spec and try to use the "right
> encoding". It's not at all clear that the spec is sensible here, but
> telling browser makers (one in particular:-) that ignoring the spec is
> OK sets a dangerous precedent,

In general, however, I think and hope the servers just DON'T send such 
headers.
If this spec is correct, I know no browser that is applying it (perheaps 
iCab) among the seven or eight I've met...

>>Maybe one of the reasons is that Emacs 20 was still widespread these 
>>last years...
> what other editors are there:-)

jEdit !
(and that's UTF-8 aware!)

Received on Friday, 4 July 2003 09:27:16 UTC