From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 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 List-Id: 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