Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Typography of programs |
| Date | 2011-06-30 09:06 +0200 |
| Organization | lccwin |
| Message-ID | <iuh79b$6f1$1@speranza.aioe.org> (permalink) |
| References | (1 earlier) <gkhn075ei1p1d28rqukpp02gf097opfbg8@4ax.com> <iuh11u$pjn$1@speranza.aioe.org> <134o07p4lc80f0r139tqgulounr5bdccll@4ax.com> <iuh4cg$bp$1@speranza.aioe.org> <j57o071mqmcsovekkthntu1p33i5m2p2uu@4ax.com> |
Le 30/06/11 08:56, Robert Wessel a écrit : > On Thu, 30 Jun 2011 08:16:50 +0200, jacob navia<jacob@spamsink.net> > wrote: > >> Le 30/06/11 08:08, Robert Wessel a écrit : >>> >>> Nor is a simple character-by-character translation really plausible >>> (something you'd run before transferring the code). It would need to >>> tokenize at least as well as the C program. >>> >> >> ???? >> Can you elaborate? >> >> Why a simple preprocessor that transforms a small set of >> Unicode characters into Ascii equivalents would not work? > > > What happens when you translate: > > (a) if (a \U+2260 b) > (b) strcpy(s, "a\U+2260b") > > from Unicode to ASCII? With or with or without isoXXX.h defined? And > then back to Unicode? > You have completely misunderstood. You would never see \U+2260 That is 7 chars. You would see ONE Unicode character in the input! Only THOSE characters would be translated into digraphs. Conceptually, it is exactly like digraphs and trigraphs revisited but in the OTHER direction: starting with today's digraphs != etc you would get SINGLE characters. > And what about<<= in ASCII? You had better not translate that to > U+003C, U+2264 in Unicode. > Yes but that would never happen, see above. > >> Again: What I propose is that a small set of Unicode characters, >> fixed by ISO is accepted instead of the digraphs in use today. >> >> This means that !=,&&, ||, and other digraphs are translated into ONE >> character, that's all. >> >>>> >>>> Does Java have Big problems because of Unicode? I would bet not! >>> >>> >>> It is the way *all* implementations work - so by definition it >>> wouldn't. My point was that they still avoided the extended >>> characters in predefined operators, while allowing programmers to use >>> them. >> >> Well, if ISO would do this, all C implementations would use the same >> characters. > > > Except for the C implementations not using Unicode. > > Just translating C source from ASCII to EBCDIC is more pain than most > of us want to go through already. This would be worse. Why? In environments where this is not desired, we could keep the digraphs. A very long transition period of 25 years could be used to slowly move to Unicode. You can still program in digraphs and trigraphs TODAY if you wish so. This would be the same.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 02:06 +0200
Re: Typography of programs Robert Wessel <robertwessel2@yahoo.com> - 2011-06-29 19:57 -0500
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 07:19 +0200
Re: Typography of programs Robert Wessel <robertwessel2@yahoo.com> - 2011-06-30 01:08 -0500
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 08:16 +0200
Re: Typography of programs Robert Wessel <robertwessel2@yahoo.com> - 2011-06-30 01:56 -0500
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 09:06 +0200
Re: Typography of programs Robert Wessel <robertwessel2@yahoo.com> - 2011-06-30 02:25 -0500
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 10:21 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-29 21:43 -0700
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 07:21 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-29 22:49 -0700
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-06-30 16:59 +1200
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 07:23 +0200
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-06-30 17:25 +1200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-29 22:52 -0700
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-06-30 17:53 +1200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-29 22:58 -0700
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-06-30 21:11 +1200
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 11:17 +0200
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-06-30 12:19 +0000
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 17:30 +0200
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-06-30 15:40 +0000
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-30 12:02 -0700
Re: Typography of programs Ralf Damaschke <rwspam@gmx.de> - 2011-06-30 20:13 +0000
Re: Typography of programs "Herbert Rosenau" <os2guy@pc-rosenau.de> - 2011-07-02 22:21 +0000
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-03 01:22 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-30 11:43 -0700
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-06-30 08:20 +0000
Re: Typography of programs Nobody <nobody@nowhere.com> - 2011-06-30 17:13 +0100
Re: Typography of programs "Herbert Rosenau" <os2guy@pc-rosenau.de> - 2011-07-01 08:52 +0000
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-01 10:58 +0200
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-07-01 09:27 +0000
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-01 12:04 +0200
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-07-01 12:42 +0000
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-01 02:05 -0700
Re: Typography of programs "Wolfgang.Draxinger" <Wolfgang.Draxinger@physik.uni-muenchen.de> - 2011-07-01 18:10 +0200
Re: Typography of programs Ben Pfaff <blp@cs.stanford.edu> - 2011-07-01 09:21 -0700
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-01 14:36 -0700
Re: Typography of programs Joe Wright <joewwright@comcast.net> - 2011-07-01 19:29 -0400
Re: Typography of programs Michael Press <rubrum@pacbell.net> - 2011-07-02 11:22 -0700
Re: Typography of programs cri@tiac.net (Richard Harter) - 2011-07-01 23:59 +0000
Re: Typography of programs Ike Naar <ike@iceland.freeshell.org> - 2011-06-30 07:48 +0000
Re: Typography of programs "Joachim Schmitz" <nospam.jojo@schmitz-digital.de> - 2011-06-30 10:03 +0200
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 10:32 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-30 01:34 -0700
Re: Typography of programs Chris H <chris@phaedsys.org> - 2011-06-30 11:06 +0100
Re: Typography of programs Michael Press <rubrum@pacbell.net> - 2011-06-30 16:05 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-06-30 14:52 +0000
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-06-30 11:39 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-06-30 20:55 +0000
Re: Typography of programs "Herbert Rosenau" <os2guy@pc-rosenau.de> - 2011-07-02 22:21 +0000
Re: Typography of programs Ben Pfaff <blp@cs.stanford.edu> - 2011-06-30 09:11 -0700
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-06-30 21:50 +0200
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-07-01 08:26 +1200
Re: Typography of programs "Herbert Rosenau" <os2guy@pc-rosenau.de> - 2011-07-02 22:21 +0000
Re: Typography of programs Ben Pfaff <blp@cs.stanford.edu> - 2011-06-30 13:38 -0700
Re: Typography of programs gordonb.9z4n8@burditt.org (Gordon Burditt) - 2011-07-01 23:16 -0500
Re: Typography of programs Ben Pfaff <blp@cs.stanford.edu> - 2011-07-01 21:46 -0700
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-01 21:52 -0700
Re: Typography of programs gordonb.e78ud@burditt.org (Gordon Burditt) - 2011-07-02 02:14 -0500
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-02 00:38 -0700
Re: Typography of programs Keith Thompson <kst-u@mib.org> - 2011-07-02 15:00 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-04 00:20 +0000
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-03 18:28 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-04 04:42 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 01:01 -0500
Re: Typography of programs Dr Nick <3-nospam@temporary-address.org.uk> - 2011-07-04 08:15 +0100
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-04 00:40 -0700
Re: Typography of programs gordonb.3nbmk@burditt.org (Gordon Burditt) - 2011-07-04 07:42 -0500
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-04 07:15 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-05 20:21 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 09:56 -0500
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-05 20:21 +0000
Re: Typography of programs Angel <angel+news@spamcop.net> - 2011-07-04 08:04 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 09:22 -0500
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-05 20:21 +0000
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-05 22:45 +0200
Re: Typography of programs Willem <willem@turtle.stack.nl> - 2011-07-05 21:52 +0000
Re: Typography of programs Squeamizh <squeamz@hotmail.com> - 2011-07-05 20:03 -0700
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-06 08:46 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-06 00:08 -0700
Re: Typography of programs Willem <willem@turtle.stack.nl> - 2011-07-06 12:12 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-06 11:10 -0500
Re: Typography of programs Dr Nick <3-nospam@temporary-address.org.uk> - 2011-07-06 07:42 +0100
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-02 11:02 +0200
Re: Typography of programs Dr Nick <3-nospam@temporary-address.org.uk> - 2011-07-02 10:22 +0100
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-02 13:51 +0200
Re: Typography of programs Dr Nick <3-nospam@temporary-address.org.uk> - 2011-07-02 15:45 +0100
Re: Typography of programs gordonb.piror@burditt.org (Gordon Burditt) - 2011-07-02 07:31 -0500
Re: Typography of programs Michael Press <rubrum@pacbell.net> - 2011-07-03 01:47 -0700
Re: Typography of programs Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-07-03 03:10 -0700
Re: Typography of programs superpollo <superpollo@tznvy.pbz> - 2011-07-04 15:19 +0200
Re: Typography of programs "Herbert Rosenau" <os2guy@pc-rosenau.de> - 2011-07-03 19:39 +0000
Re: Typography of programs "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-07-03 14:01 -0700
Re: Typography of programs Keith Thompson <kst-u@mib.org> - 2011-07-03 14:26 -0700
Re: Typography of programs "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-07-04 01:19 -0700
Re: Typography of programs Keith Thompson <kst-u@mib.org> - 2011-07-04 14:19 -0700
Re: Typography of programs Michael Press <rubrum@pacbell.net> - 2011-07-03 20:46 -0700
Re: Typography of programs Seebs <usenet-nospam@seebs.net> - 2011-07-04 04:42 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 00:43 -0500
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-03 23:03 -0700
Re: Typography of programs James Kuyper <jameskuyper@verizon.net> - 2011-07-04 06:32 -0400
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 09:08 -0500
Re: Typography of programs Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-07-07 18:01 +0300
Re: Typography of programs Dr Nick <3-nospam@temporary-address.org.uk> - 2011-07-02 16:28 +0100
Re: Typography of programs pacman@kosh.dhis.org (Alan Curry) - 2011-07-02 20:52 +0000
Re: Typography of programs Stephen Sprunk <stephen@sprunk.org> - 2011-07-04 00:50 -0500
Re: Typography of programs "io_x" <a@b.c.invalid> - 2011-07-03 10:04 +0200
Re: Typography of programs "io_x" <a@b.c.invalid> - 2011-07-03 10:27 +0200
Re: Typography of programs Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-07-03 03:19 -0700
Re: Typography of programs "BartC" <bc@freeuk.com> - 2011-07-06 10:14 +0100
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-06 02:48 -0700
Re: Typography of programs "BartC" <bc@freeuk.com> - 2011-07-06 11:47 +0100
Re: Typography of programs jacob navia <jacob@spamsink.net> - 2011-07-06 14:46 +0200
Re: Typography of programs China Blue Dolls <chine.bleu@yahoo.com> - 2011-07-06 07:44 -0700
Re: Typography of programs Ian Collins <ian-news@hotmail.com> - 2011-07-07 07:50 +1200
csiph-web