[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't make emacs use utf-8?? (on WinXP)
From: |
Jason Rumney |
Subject: |
Re: Can't make emacs use utf-8?? (on WinXP) |
Date: |
04 Jun 2003 21:21:36 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
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.
- Can't make emacs use utf-8?? (on WinXP), Bjoern, 2003/06/02
- Re: Can't make emacs use utf-8?? (on WinXP), Jason Rumney, 2003/06/03
- Re: Can't make emacs use utf-8?? (on WinXP), Benjamin Riefenstahl, 2003/06/03
- Re: Can't make emacs use utf-8?? (on WinXP), Bjoern, 2003/06/03
- Re: Can't make emacs use utf-8?? (on WinXP), Benjamin Riefenstahl, 2003/06/04
- Re: Can't make emacs use utf-8?? (on WinXP), Bjoern, 2003/06/04
- Re: Can't make emacs use utf-8?? (on WinXP), Robin Hu, 2003/06/04
- Re: Can't make emacs use utf-8?? (on WinXP), Benjamin Riefenstahl, 2003/06/04
- Re: Can't make emacs use utf-8?? (on WinXP),
Jason Rumney <=
- Re: Can't make emacs use utf-8?? (on WinXP), Piet van Oostrum, 2003/06/11
Re: Can't make emacs use utf-8?? (on WinXP), Eli Zaretskii, 2003/06/03
Re: Can't make emacs use utf-8?? (on WinXP), Stefan Monnier, 2003/06/05