Characters having an ASCII value > 127

Steffen Rodig rodig at
Fri Sep 18 14:30:47 BST 1998


imagine a plain text file which I want to markup using XML. Now it could be
that there are characters in this file whose ASCII value is greater than
127 (in PCDATA sections).

If I try to use expat on the generated XML file, it tells me that it is
not wellformed at the position where such a character occurs. Does the
XML spec say anything about not permitting characters with high ASCII
values? If so, where?

I guess, to correctly interpret and display those characters I have to
know the character set which was used to encode the original text file.
How can I communicate this character set to an XML parser?

I would be happy if anybody could point me to somewhere I could start
reading about this issue.

Thanks and have a nice weekend,
Steffen Rodig
rodig at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list