Lists Home |
Date Index |
- From: Peter Murray-Rust <email@example.com>
- To: firstname.lastname@example.org
- Date: Fri, 05 Dec 1997 11:14:00
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.
java jumbo.sgml.ContentChunk (A|B)
using the 'vertical bar' character on my keyboard (the 'or' symbol in Java/C).
I assume this has decimal value 124 (from 'man ascii').
Under jview, this character is created with a value of 166.
Under java it is created with a value of -90
If I quote the argument under java (i.e. "(A|B)" ), I get a value of 65446
[corresponds to 2^16 - 90]
A - is this symptomatic of a general problem (e.g. something in Unicode).
B - how can I 'quote' a '|' symbol in the DOS commandline?
There is also a character 214 whose glyph seems to be a vertical bar with a
break in it. I assume this is unrelated to the problem (even though it is
what my keyboards display :-)
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)