ietf-xml-mime
[Top] [All Lists]

Re: transcoding nearly certainly wrong?

2003-09-20 13:08:52

Bert Bos wrote:

But if it doesn't work, you can look more closely at the MIME type and
use your knowledge about foo. If foo is css or html, you can convert
from any encoding to any encoding (and I do so often). If foo is
something+xml, you can still do do it, as long as all element names
and attribute names are in ASCII.

... and if you check the first few bytes and if they say, for example,

<?xml version='1.0' encoding='ISO-8859-1' ?>

then you also fix them.  -Tim



<Prev in Thread] Current Thread [Next in Thread>