diff options
author | Tom Tromey <tromey@redhat.com> | 2005-05-23 19:31:37 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2005-05-23 19:31:37 +0000 |
commit | 25d58d2b4b870547fc843c544e78a6b37c36afb8 (patch) | |
tree | 140f37e9700d3dd376c93b1a28330ea11335af93 /doc | |
parent | 1febccc706bb3a3d4d12fffb11601615a56f9a3e (diff) | |
download | classpath-25d58d2b4b870547fc843c544e78a6b37c36afb8.tar.gz |
* doc/hacking.texinfo (Source Code Style Guide): Document UTF-8
use.
* lib/Makefile.am (GCJF): New variable.
(JAVAC): Use it. Add -encoding option where needed.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hacking.texinfo | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/hacking.texinfo b/doc/hacking.texinfo index 96350f98c..865cb53c8 100644 --- a/doc/hacking.texinfo +++ b/doc/hacking.texinfo @@ -11,7 +11,7 @@ This file contains important information you will need to know if you are going to hack on the GNU Classpath project code. -Copyright (C) 1998,1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. +Copyright (C) 1998,1999,2000,2001,2002,2003,2004, 2005 Free Software Foundation, Inc. @ifnotplaintext @dircategory GNU Libraries @@ -500,6 +500,11 @@ conventions): @itemize @item +Java source files in GNU Classpath are encoded using UTF-8. However, +ordinarily it is considered best practice to use the ASCII subset of +UTF-8 and write non-ASCII characters using \u escapes. + +@item If possible, generate specific imports (expand) over java.io.* type imports. Order by gnu, java, javax, org. There must be one blank line between each group. The imports themselves are ordered alphabetically by |