comp.lang.ada
 help / color / mirror / Atom feed
From: sommar@enea.UUCP
Subject: Eight-bit characters?
Date: Sat, 18-Apr-87 15:30:51 EST	[thread overview]
Date: Sat Apr 18 15:30:51 1987
Message-ID: <1831@enea.UUCP> (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        
                        

                 reply	other threads:[~1987-04-18 20:30 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