You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/12/27 07:01:04 UTC
[iotdb] branch rel/0.11 updated: [To rel/0.11] Fix windows encoding
bug (#2338)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.11 by this push:
new 20bfeec [To rel/0.11] Fix windows encoding bug (#2338)
20bfeec is described below
commit 20bfeec422dfde250ec754f2fae951f199347a8c
Author: Xiangwei Wei <34...@users.noreply.github.com>
AuthorDate: Sun Dec 27 15:00:50 2020 +0800
[To rel/0.11] Fix windows encoding bug (#2338)
---
server/src/assembly/resources/sbin/start-server.bat | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/server/src/assembly/resources/sbin/start-server.bat b/server/src/assembly/resources/sbin/start-server.bat
index 91d52eb..db90506 100755
--- a/server/src/assembly/resources/sbin/start-server.bat
+++ b/server/src/assembly/resources/sbin/start-server.bat
@@ -90,7 +90,9 @@ set JAVA_OPTS=-ea^
-DIOTDB_HOME="%IOTDB_HOME%"^
-DTSFILE_HOME="%IOTDB_HOME%"^
-DTSFILE_CONF="%IOTDB_CONF%"^
- -DIOTDB_CONF="%IOTDB_CONF%"
+ -DIOTDB_CONF="%IOTDB_CONF%"^
+ -Dsun.jnu.encoding=UTF-8^
+ -Dfile.encoding=UTF-8
@REM ***** CLASSPATH library setting *****
@REM Ensure that any user defined CLASSPATH variables are not used on startup