1+ @ rem
2+ @ rem Copyright 2015 the original author or authors.
3+ @ rem
4+ @ rem Licensed under the Apache License, Version 2.0 (the "License");
5+ @ rem you may not use this file except in compliance with the License.
6+ @ rem You may obtain a copy of the License at
7+ @ rem
8+ @ rem http://www.apache.org/licenses/LICENSE-2.0
9+ @ rem
10+ @ rem Unless required by applicable law or agreed to in writing, software
11+ @ rem distributed under the License is distributed on an "AS IS" BASIS,
12+ @ rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ @ rem See the License for the specific language governing permissions and
14+ @ rem limitations under the License.
15+ @ rem
16+
117@ if " %DEBUG% " == " " @ echo off
218@ rem ##########################################################################
319@ rem
@@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
1430set APP_HOME = %DIRNAME%
1531
1632@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17- set DEFAULT_JVM_OPTS =
33+ set DEFAULT_JVM_OPTS = -Dfile.encoding=UTF-8
1834
1935@ rem Find java.exe
2036if defined JAVA_HOME goto findJavaFromJavaHome
@@ -49,7 +65,6 @@ goto fail
4965@ rem Get command-line arguments, handling Windows variants
5066
5167if not " %OS% " == " Windows_NT" goto win9xME_args
52- if " %@eval[2+2]" == " 4" goto 4NT_args
5368
5469:win9xME_args
5570@ rem Slurp the command line arguments.
@@ -60,11 +75,6 @@ set _SKIP=2
6075if " x%~1 " == " x" goto execute
6176
6277set CMD_LINE_ARGS = %*
63- goto execute
64-
65- :4NT_args
66- @ rem Get arguments from the 4NT Shell from JP Software
67- set CMD_LINE_ARGS = %$
6878
6979:execute
7080@ rem Setup the command line
0 commit comments