Re: Vertical bar character

Michael Kay (M.H.Kay@eng.icl.co.uk)
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