git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[JGIT PATCH 1/1] Compile all Java sources in jgit as UTF-8

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 27, 2008, 04:11 UTC
Message-ID
<1217131914-14837-1-git-send-email-spearce@spearce.org>

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
Message 1 of 1 in “Compile all Java sources in jgit as UTF-8”
  1. 1/1 Compile all Java sources in jgit as UTF-8Shawn O. Pearce, Jul 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.