sommar@enea.UUCP (04/18/87)
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