Subject: Re: [xsl] encoding of text files From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Sat, 16 Nov 2002 03:25:19 +0100 |
How are text files marked as UTF-8?
Ordinary text files have no way of indicating their encoding. XML document entities and parsed general entities have encoding declarations for this purpose, and XML parsers also accept external declarations of encoding, such as what might be obtained from a transport protocol (HTTP response Content-Type header, for example) by whatever is feeding the entity's bytes to the parser.
The sender and receiver of the bytes that constitute a file intended for processing as textual data must be in agreement on what encoding was used to produce those bytes. How you do that in your non-XSLT related application is a matter you should take up in a more apporpriate forum.
- Mike
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] encoding of text files, Mike Brown | Thread | RE: [xsl] encoding of text files, Michael Kay |
Re: [xsl] XML from JSP, Mike Brown | Date | Re: [xsl] sequential grouping quest, Joerg Heinicke |
Month |