From 0e0f8b0dee89045cc07379dc4dec766016a3204c Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sat, 6 Aug 2016 08:03:04 -0400 Subject: [PATCH] force encoding to UTF8 - pulled from #1277 --- scripts/linux/apktool | 2 +- scripts/osx/apktool | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/linux/apktool b/scripts/linux/apktool index 3d5acd7d..e99086b9 100755 --- a/scripts/linux/apktool +++ b/scripts/linux/apktool @@ -53,7 +53,7 @@ javaOpts="" # line and adjust the value accordingly. Use "java -X" for a list of options # you can pass here. # -javaOpts="-Xmx512M" +javaOpts="-Xmx512M -Dfile.encoding=utf-8" # Alternatively, this will extract any parameter "-Jxxx" from the command line # and pass them to Java (instead of to dx). This makes it possible for you to diff --git a/scripts/osx/apktool b/scripts/osx/apktool index d07f5e02..d3a4f2e1 100755 --- a/scripts/osx/apktool +++ b/scripts/osx/apktool @@ -53,7 +53,7 @@ javaOpts="" # line and adjust the value accordingly. Use "java -X" for a list of options # you can pass here. # -javaOpts="-Xmx512M" +javaOpts="-Xmx512M -Dfile.encoding=utf-8" # Alternatively, this will extract any parameter "-Jxxx" from the command line # and pass them to Java (instead of to dx). This makes it possible for you to