Vertical bar character

Michael Kay M.H.Kay at eng.icl.co.uk
Fri Dec 5 11:41:34 GMT 1997


>I am building a module to parse DTD content models and have a strange (to
>me) problem on java DOS with the vertical bar character in the command
>line. I am using W95, JDK1.02 and the DOS prompt window.


Unicode and Latin-1 have:
VERTICAL BAR: 124
BROKEN BAR: 166

I believe that in the original ASCII, 124 was called vertical line, but many
printers
displayed it as a broken line. In the IBM PC-DOS code set 850, code 124
became
broken line, while in Latin-1 it remained as vertical bar with the new code
166
(your minus 90) being allocated to broken bar.

This means that software that is converting files between Latin-1 (or
UNICODE, or
Microsoft "ANSI") and PC-DOS code page 850 ought to perform a conversion on
these characters.

Mike Kay



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




More information about the Xml-dev mailing list