|
|
Am 18.08.2012 00:39, schrieb Cousin Ricky:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 17.08.2012 19:53, schrieb Dave:
>>> renderfrontend.cpp:1165:57: warning: trigraph ??) ignored, use
>>> -trigraphs to enable [-Wtrigraphs]
>>
>> Trigraphs suck, but yes, we should avoid them.
>
> Hard to believe there was a time when not all English-based computers understood
> 7-bit ASCII.
Well, the trigraphs were there for /non/ English-based computers, which
often used 7-bit national derivatives of ASCII. Those typically replaced
a common set of 8 characters - curly braces, square brackets, pipe
symbol, backslash, tilde and hash - with language-specific characters
(in the German "GSCII", for instance, those were the umlauts, the sz
ligature, and the German paragraph sign), so C programs without
trigraphs would look pretty odd on those computers.
BTW, the UK also had their own derivative of ASCII, replacing the hash
sign with a pound sterling sign, but AFAIR the other characters were
left unharmed.
Post a reply to this message
|
|