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


Groups > comp.lang.java.programmer > #7936

Re: unicode

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: unicode
Date 2011-09-12 17:46 -0700
Organization http://groups.google.com
Message-ID <88ff0d8c-af5f-4086-8232-26c80e5d8270@glegroupsg2000goo.googlegroups.com> (permalink)
References <6c991195-ab57-417c-92e0-6d5ee1c451dc@dq7g2000vbb.googlegroups.com> <nfss679ije8c4r70tn9kmnr055vm6nfua0@4ax.com> <4e6e7a2a$0$309$14726298@news.sunsite.dk> <j4m4rs$l5g$1@dont-email.me>

Show all headers | View raw


markspace wrote:
> Arne Vajh�j wrote:

markspace, you need to post in a way that preserves characters.

>> Roedy Green wrote:
>>> \u is treated in rather flat footed way, as if by a preprocessor.
> 
>> It is treated per spec.
> 
> Actually I agree with Roedy on this one.  Per spec or not, it's a dumb 
> idea.  I think it should go away, frankly.

That would defeat its purpose, which is somewhat similar to the purpose of trigraphs in C, AIUI.  That is, if your keyboard lacks certain characters, you can express source in "\u" notation and the source parser will read it correctly.  Its whole raison d'etre is to precede compilation, not to be part of it.  So how could it go away?  What would you do instead?

Anyway, per spec is what we have to live with, like it or not.

>> And I would not use the term preprocessor - it is Java not C.
> 
> I've always heard this part of the Java compiler described as a 
> preprocessor.  Is there some other documentation that refers to it 
> differently?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

unicode bob <bob@coolgroups.com> - 2011-09-12 12:24 -0700
  Re: unicode Knute Johnson <nospam@knutejohnson.com> - 2011-09-12 14:04 -0700
  Re: unicode Roedy Green <see_website@mindprod.com.invalid> - 2011-09-12 14:08 -0700
    Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-09-12 17:31 -0400
      Re: unicode markspace <-@.> - 2011-09-12 16:33 -0700
        Re: unicode Lew <lewbloch@gmail.com> - 2011-09-12 17:46 -0700
          Re: unicode markspace <-@.> - 2011-09-12 20:16 -0700
          Re: unicode Roedy Green <see_website@mindprod.com.invalid> - 2011-09-12 22:05 -0700
            Re: unicode Roedy Green <see_website@mindprod.com.invalid> - 2011-09-12 22:10 -0700
            Re: unicode Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-13 07:18 +0000
        Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-09-12 20:57 -0400
          Re: unicode markspace <-@.> - 2011-09-12 19:51 -0700
            Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-09-13 20:17 -0400
              Re: unicode markspace <-@.> - 2011-09-13 19:32 -0700
                Re: unicode Roedy Green <see_website@mindprod.com.invalid> - 2011-09-14 11:49 -0700
                Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-11-07 21:30 -0500
                Re: unicode markspace <-@.> - 2011-11-07 19:18 -0800
                Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-11-07 22:47 -0500
                Re: unicode markspace <-@.> - 2011-11-07 21:12 -0800
          Re: unicode Paul Cager <paul.cager@googlemail.com> - 2011-09-13 04:05 -0700
        Re: unicode Roedy Green <see_website@mindprod.com.invalid> - 2011-09-12 22:02 -0700
          Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-09-13 20:30 -0400
  Re: unicode Arne Vajhøj <arne@vajhoej.dk> - 2011-09-12 17:29 -0400
    Re: unicode Lew <lewbloch@gmail.com> - 2011-09-12 15:48 -0700

csiph-web