Force java source encoding to UTF-8
authorKeith Packard <keithp@keithp.com>
Wed, 28 Jul 2010 02:29:38 +0000 (19:29 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 28 Jul 2010 02:29:38 +0000 (19:29 -0700)
ao-tools/altosui/Makefile

index 4068eeb..39d1a70 100644 (file)
@@ -23,7 +23,7 @@ JAVAFLAGS=-Xlint:unchecked
 all: $(CLASSFILES) altosui.jar
 
 .java.class:
-       javac -cp "$(CLASSPATH)" $(JAVAFLAGS) $*.java
+       javac -encoding UTF8 -classpath "$(CLASSPATH)" $(JAVAFLAGS) $*.java
 
 altosui.jar: $(CLASSFILES) Manifest.txt
        jar cfm $@ altosui/Manifest.txt altosui/*.class libaltosJNI/*.class