Lists Home |
Date Index |
Title: RE: [xml-dev] Supporting Unicode
> > Wasn't one of the design goals of XML to be human readable?
> > How do I do that? I display the document on my screen,
> > or I print it out. Surely having the least number of control
> > characters in the document makes that more readily achieveable.
> > I don't want to have to use a hex editor to see the 'real'
> > contents of a document. Nor have my printer go ballistic
> > or print blocks in place of control characters.
> Even without control characters, XML documents in general aren't human
> readable using tools such as vi or other ASCII text editors.
That's a different problem. You need a tool that understands the encoding
of the document. I have lots that understand English. If I were Chinese
I image I would have a tool that displayed Chinese characters.
The problems with control characters are:
- the Unicode standard doesn't define a glyph for them
(see http://www.unicode.org/charts/PDF/U0080.pdf for example)
How is a PU1 represented?
- they have varying semantics in different operating systems
and programs. That's why they are called control characters.
> A subset of
> XML documents are human readable if edited with vi and viewed with the
> appropriate Latin font.
> Are there any Unicode text editors available? Is there a
> text editor (or
> some combination of editor + terminal emulator setup + ...)
> that supports
> text-editing any XML document (or a larger subset of XML
> documents)? I
> suppose a Unicode editor would need to support two modes:
> display 'logical'
> characters, and display multibyte characters and
> non-displaying characters
> and similar-appearing characters as groups of bytes.
If China becomes a big market for IT then we will be forced
to address this issue, but it is a separate issue.
Web site: http://www.quest.com