mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 12:20:11 +02:00
Set the default local to en-US, to avoid locale specific weirdness
This commit is contained in:
parent
3f70d08442
commit
7bb622e0b1
@ -39,6 +39,7 @@ import java.io.IOException;
|
|||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
public class main {
|
public class main {
|
||||||
@ -84,6 +85,9 @@ public class main {
|
|||||||
* Run!
|
* Run!
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
Locale locale = new Locale("en", "US");
|
||||||
|
Locale.setDefault(locale);
|
||||||
|
|
||||||
CommandLineParser parser = new PosixParser();
|
CommandLineParser parser = new PosixParser();
|
||||||
CommandLine commandLine;
|
CommandLine commandLine;
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ import org.jf.util.SmaliHelpFormatter;
|
|||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
@ -84,6 +85,9 @@ public class main {
|
|||||||
* Run!
|
* Run!
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
Locale locale = new Locale("en", "US");
|
||||||
|
Locale.setDefault(locale);
|
||||||
|
|
||||||
CommandLineParser parser = new PosixParser();
|
CommandLineParser parser = new PosixParser();
|
||||||
CommandLine commandLine;
|
CommandLine commandLine;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user