|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Vertical bar character
At 11:38 05/12/97 -0000, Michael Kay wrote: >>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. Thanks. This helps a good deal. I'm mystified as to why 166 (aka 'Broken bar') is displayed as a minute formless squiggle and 214 is displayed as a broken bar but I can survive without that knowledge > >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. Yes. It performs an unwanted one :-). It looks like a problem between Java and the DOS commandline. What particularly worried me was that simple Java code using 'char' translated this character into 65446, which presumably has a completely different meaning in Unicode. IOW there is a danger that corruptions could take place. P. > >Mike Kay > > > >xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... >Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ >To (un)subscribe, mailto:majordomo@i... the following message; >(un)subscribe xml-dev >To subscribe to the digests, mailto:majordomo@i... the following message; >subscribe xml-dev-digest >List coordinator, Henry Rzepa (mailto:rzepa@i...) > > Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic net connection VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary http://www.venus.co.uk/vhg xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








