W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2004

Re: can not use the XSV because of encoding

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 05 Nov 2004 08:55:41 +0000
To: Yulia Senina <yul221@yandex.ru>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b654koesy.fsf@erasmus.inf.ed.ac.uk>

Yulia Senina <yul221@yandex.ru> writes:

> Hello xmlschema-dev,
>
>   How can i use XSV with other encodings?
>
>   I use xml documents with header:
>   <?xml version="1.0" encoding="windows-1251" ?>

> Error: Unknown declared encoding windows-1251
>  in unnamed entity at line 1 char 44 of file:///C:/file.xml

Sorry about that, I only package the common encodings (utf8,
iso-8859-1) with the binary distributions.  If you install from
source, you'll get a full range of encodings supported, including
cp1251.

Or just transcode, using an XSLT processor that supports 1252 such as
(I presume) MSXSL.

Transcoding is probably a good idea, I don't think you'll find many
XML parsers which support windows-1251 == cp1251.

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Friday, 5 November 2004 08:55:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC