From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.help Subject: Re: Can't make emacs use utf-8?? (on WinXP) Date: Wed, 04 Jun 2003 14:52:43 +0200 Organization: None Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054731771 6607 80.91.224.249 (4 Jun 2003 13:02:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 13:02:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 15:02:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NXtf-0001bw-00 for ; Wed, 04 Jun 2003 15:01:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NXtv-0001UF-Qa for gnu-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2003 09:01:59 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!seneca.benny.turtle-trading.net!nobody Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:Pf9P6CFTORCWMRAXWUXgwiorln4= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 27 Original-Xref: shelby.stanford.edu gnu.emacs.help:114090 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10583 Hi Bjoern, Bjoern writes: > But wasn't Java the first programming language to promote Unicode? > I haven't tried it yet, as untill yesterday I really stuck to ASCII. The first thing for Unicode to rule the world (;-)) is that programmers need to start writing programs that can do Unicode, e.g. in Java. Only when it is a common thing can you actually use it *during* programming. We are not there yet, there are still quite a number of other encodings around, and the Java compiler has to cope with them as any other tool. So while Java accepts non-ASCII in a number of places (including identifiers, I believe) for portability reasons you shouldn't just write them without precautions IMO. You can either use UCNs (those \uXXXX codes), or you can use the native2ascii tool that comes with the JDK to translate to UCNs, or you can just avoid using non-ASCII characters in code altogether. The last one is the easiest. There are even those, like me, that believe that the language of identifiers and comments should be simple English anyway, to maximize reusability. so long, benny