crossley | 23 Jan 2012 01:28
Picon
Favicon

svn commit: r1234657 - in /forrest/trunk: bin/forrest bin/forrest.bat main/webapp/WEB-INF/jtidy.properties site-author/status.xml

Author: crossley
Date: Mon Jan 23 00:28:55 2012
New Revision: 1234657

URL: http://svn.apache.org/viewvc?rev=1234657&view=rev
Log:
Use JAVA_TOOL_OPTIONS to ensure UTF-8 everywhere.
Contributed by: Karl Wright
Issue: FOR-1231

Modified:
    forrest/trunk/bin/forrest
    forrest/trunk/bin/forrest.bat
    forrest/trunk/main/webapp/WEB-INF/jtidy.properties
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/bin/forrest
URL: http://svn.apache.org/viewvc/forrest/trunk/bin/forrest?rev=1234657&r1=1234656&r2=1234657&view=diff
==============================================================================
--- forrest/trunk/bin/forrest (original)
+++ forrest/trunk/bin/forrest Mon Jan 23 00:28:55 2012
 <at>  <at>  -60,6 +60,11  <at>  <at>  if [ -z "$FORREST_HOME" ] ; then
   FORREST_HOME=`cd "$FORREST_HOME" && pwd`
 fi

+# Save old JAVA_TOOL_OPTIONS
+OLD_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS"
+unset OLD_TOOL_OPTIONS
+JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
+
(Continue reading)


Gmane