* [JGIT PATCH 1/1] Compile all Java sources in jgit as UTF-8
@ 2008-07-27 4:11 Shawn O. Pearce
0 siblings, 0 replies; only message in thread
From: Shawn O. Pearce @ 2008-07-27 4:11 UTC (permalink / raw)
To: Robin Rosenberg, Marek Zawirski; +Cc: git
We use a UTF-8 encoding in our source files whenever possible.
If the compiler assumes ASCII we sometimes get warnings parsing
copyright information for authors whose names aren't representable
in US-ASCII.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
make_jgit.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/make_jgit.sh b/make_jgit.sh
index 89df80c..13d0e32 100755
--- a/make_jgit.sh
+++ b/make_jgit.sh
@@ -58,6 +58,7 @@ do
xargs javac \
-source 1.5 \
-target 1.5 \
+ -encoding UTF-8 \
-g \
-d ../bin2) || die "Building $p failed."
CLASSPATH="$CLASSPATH:$R/$p/bin2"
--
1.6.0.rc0.182.gb96c7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-27 4:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-27 4:11 [JGIT PATCH 1/1] Compile all Java sources in jgit as UTF-8 Shawn O. Pearce
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 NNTP newsgroup(s).