From 481299c748bb7d692cd9da4971a7879c17234e35 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Fri, 25 Aug 2017 06:36:50 -0400 Subject: [PATCH] Update Windows scripts for unicode support - fixes #1595 --- scripts/windows/apktool.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/windows/apktool.bat b/scripts/windows/apktool.bat index 0ca29e09..0747c0eb 100755 --- a/scripts/windows/apktool.bat +++ b/scripts/windows/apktool.bat @@ -1,4 +1,5 @@ @echo off if "%PATH_BASE%" == "" set PATH_BASE=%PATH% set PATH=%CD%;%PATH_BASE%; -java -jar -Duser.language=en "%~dp0\apktool.jar" %* +chcp 65001 2>nul >nul +java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0\apktool.jar" %*