OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Vertical bar character

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: "Peter Murray-Rust" <peter@ursus.demon.co.uk>, <xml-dev@ic.ac.uk>
  • Date: Fri, 5 Dec 1997 11:38:57 -0000

>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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS