Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mcvax!enea!sommar From: sommar@enea.UUCP Newsgroups: comp.lang.ada Subject: Eight-bit characters? Message-ID: <1831@enea.UUCP> Date: Sat, 18-Apr-87 15:30:51 EST Article-I.D.: enea.1831 Posted: Sat Apr 18 15:30:51 1987 Date-Received: Sun, 19-Apr-87 11:59:04 EST Reply-To: sommar@enea.UUCP(Erland Sommarskog) Followup-To: comp.lang.ada Organization: ENEA DATA Svenska AB, Sweden Lines: 18 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