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


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

Re: unicode

Date 2011-11-07 21:30 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: unicode
References (3 earlier) <j4m4rs$l5g$1@dont-email.me> <4e6eaa8a$0$305$14726298@news.sunsite.dk> <j4mgeo$h1c$2@dont-email.me> <4e6ff2a9$0$313$14726298@news.sunsite.dk> <j4p3oh$pa2$1@dont-email.me>
Message-ID <4eb89437$0$286$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 9/13/2011 10:32 PM, markspace wrote:
> On 9/13/2011 5:17 PM, Arne Vajhøj wrote:
>> It allow you to use any unicode in names and strings with tools
>> that does not support those characters.
>
> I understand what it does, I just don't think it's a problem. That is,
> the \u preprocessor escape in Java is just a solution in search of a use
> case that doesn't exist, or at least is so corner-case-ish that it might
> as well not exist. While at the same time it causes rather huge
> problems, relative to the one it fixes (if any).

You asked what problem it solves.

Now you know what problem it solves.

You still do not think it is a serious problem, but that is
a different discussion.

I would tend to agree that it is not a problem today, but I doubt
that unicode support was that common when Java 1.0 was brand new.

> Again, I just thing the darn thing is pernicious and should be removed.
> At minimum, it should be removed from comments, that's just silly. (And
> I've personally been bit by the \u thing in a comment twice now. It's
> REALLY annoying when your trying to comment how you print \u for escape
> processing and you can't because "\u" isn't a valid string in a comment.)

Once put in the language, then they can never remove it without breaking
existing code.

Arne

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

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

csiph-web