* Eight-bit characters?
@ 1987-04-18 20:30 sommar
0 siblings, 0 replies; only message in thread
From: sommar @ 1987-04-18 20:30 UTC (permalink / raw)
This may be a stupid question, due to that I haven't studied the LRM
carefully enough, but here it goes:
If I want to deal with a character set that contains 256 characters
in Ada how do I do? Terminal with an extended ASCII set are getting
more and usual, an exmaple is VT200-series. In these terminals national
characters - like German umlaut for instance - have been placed above
#127. If I want to handle text written on such screens, I get a problem
since Ada relys 7-bit ASCII and gives Constraint_error for the upper 128.
One solution would of course to treat all characters as 8-bit integers,
but seems more like C than Ada to me.
--
Erland Sommarskog
ENEA Data, Stockholm
sommar@enea.UUCP
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1987-04-18 20:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1987-04-18 20:30 Eight-bit characters? sommar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox