From: spilker@uni-paderborn.de (Joerg spilker)
Subject: Text I/O with 8-bit charset
Date: 7 Sep 90 20:16:34 GMT [thread overview]
Message-ID: <1990Sep7.201634.16805@uni-paderborn.de> (raw)
Hello Ada-programmers,
please help a novice Ada-programmer. I'm working with the ADAVAX 3.5E
compiler under VAX/VMS 5.3. I had to do input/output to terminal and to
files with an 8-bit character set (because of german special national
characters). But how to define this set with the appropriate operations in
a transparent manner, if the standard only supports a 7-bit charset? If I
use the standard get and put procedures and type a character with a code
>127, I get no runtime error, but the typed characters are simply ignored.
I tried some definitions like this:
WITH SEQUENTIAL_IO;
TYPE CHARACTER IS (ae,oe,ue,ss);
FOR CHARACTER USE(228,246,252,223);
PACKAGE CHAR_IO IS NEW SEQUENTIAL_IO(CHARACTER);
But with these definitions, every output to the terminal is followed by a
CRLF and getting characters from SYS$INPUT immmediately raises an END_DATA
exception.
Any hints for my Problem?
Joerg Spilker
P.S. Please answer to the following E-mail adresses. I'm not reading this
group regularly.
--
** | Joerg Spilker, Brueckenstr. 12, 4927 Luegde, +49 5281 78087 |
_/ \_ | Dnet: spilker@uni.paderborn.de |
/ | | \ | Fido: Joerg Spilker of 2:244/23 |
reply other threads:[~1990-09-07 20:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox