Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #65808

Re: Character display

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: Character display
Date 2015-07-17 16:20 -0400
Organization Self
Message-ID <55A96380.4030007@verizon.net> (permalink)
References <57f4f1ac-4cae-435f-acc8-1f26b70ef50b@googlegroups.com>

Show all headers | View raw


On 07/17/2015 03:51 PM, David Kleinecke wrote:
> I have been thinking about the ideal way to handle text data in C. The 
> point of departure is my disapproval of section 5.2.2 of the C90 
> Standard (repeated in all later Standards). I am not arguing for
> changes in C (outside of 5.2.2) but rather how to accommodate what 
> I feel is ideal in Standard Freestanding C90.

Then you're facing a rather severe fundamental conceptual problem.
Freestanding C (all versions) has no way of displaying characters. The
only thing that 5.2.2 says which is meaningful in that context is
5.2.2p3: "Each of these escape sequences shall produce a unique
implementation-defined value which can be stored in a single char
object. The external representations in a text file need not be
identical to the internal representations, and are outside the scope of
this International Standard."

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Character display David Kleinecke <dkleinecke@gmail.com> - 2015-07-17 12:51 -0700
  Re: Character display James Kuyper <jameskuyper@verizon.net> - 2015-07-17 16:20 -0400
    Re: Character display David Kleinecke <dkleinecke@gmail.com> - 2015-07-17 18:57 -0700
      Re: Character display James Kuyper <jameskuyper@verizon.net> - 2015-07-17 23:22 -0400
      Re: Character display Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-07-18 10:18 -0700
  Re: Character display Keith Thompson <kst-u@mib.org> - 2015-07-17 13:44 -0700
    Re: Character display David Kleinecke <dkleinecke@gmail.com> - 2015-07-17 19:06 -0700
      Re: Character display Keith Thompson <kst-u@mib.org> - 2015-07-17 21:33 -0700
      Re: Character display Geoff <geoff@invalid.invalid> - 2015-07-18 00:33 -0700
        Re: Character display Geoff <geoff@invalid.invalid> - 2015-07-18 10:09 -0700
        Re: Character display James Kuyper <jameskuyper@verizon.net> - 2015-07-18 13:45 -0400
        Re: Character display David Kleinecke <dkleinecke@gmail.com> - 2015-07-18 18:51 -0700
          Re: Character display Keith Thompson <kst-u@mib.org> - 2015-07-18 21:08 -0700
            Re: Character display Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-07-19 00:33 -0700
              Re: Character display Robert Wessel <robertwessel2@yahoo.com> - 2015-07-19 17:03 -0500

csiph-web