Re: transcoding nearly certainly wrong?
Tim Bray <[email protected]> Sat, 20 Sep 2003 13:08:50 -0700
| Newsgroups | gmane.ietf.xml-mime |
|---|---|
| Message-ID | <[email protected]> |
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