From: jasonr (Jason Rumney) @ f2s.com
Subject: Re: Can't make emacs use utf-8?? (on WinXP)
Date: 04 Jun 2003 21:21:36 +0100 [thread overview]
Message-ID: <ufzmpzj8v.fsf@jasonrumney.net> (raw)
In-Reply-To: bbkrbs$ak5g7$2@ID-142197.news.dfncis.de
Bjoern <p2@blinker.net> writes:
> > There are even those, like me, that believe that the language of
> > identifiers and comments should be simple English anyway, to maximize
> > reusability.
>
> True, I wasn't even thinking about that, but what about
>
> System.out.println("some non-ASCII text here");
This is better suited to a Java newsgroup, but the answer is it
depends.
By default, the java compiler uses the user's default locale to guess
the encoding, which in a large enough team is somewhat random, but can
be forced to use a particular encoding by using a compiler
switch. There is also some randomness in what encoding other
people's editors will write code out as.
So if you are a team of one, you can probably manage to set your
environment up so that non-ASCII just works, but as soon as other
people start working on the code you are opening a can of worms by
allowing non-ASCII characters in the source without encoding them
as \uNNNN.
next prev parent reply other threads:[~2003-06-04 20:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 23:55 Can't make emacs use utf-8?? (on WinXP) Bjoern
2003-06-03 7:19 ` Jason Rumney
2003-06-04 15:35 ` Stefan Monnier
2003-06-03 10:16 ` Benjamin Riefenstahl
2003-06-04 0:26 ` Bjoern
2003-06-04 12:52 ` Benjamin Riefenstahl
2003-06-04 13:16 ` Bjoern
2003-06-04 14:19 ` Robin Hu
2003-06-04 14:59 ` Benjamin Riefenstahl
2003-06-04 20:21 ` Jason Rumney [this message]
2003-06-10 17:53 ` Piet van Oostrum
2003-06-03 18:27 ` Eli Zaretskii
2003-06-05 14:14 ` Stefan Monnier
2003-06-06 8:58 ` Bjoern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ufzmpzj8v.fsf@jasonrumney.net \
--to=jasonr@f2s.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).