-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: invalid smali strings on OS where UTF-8 is not default encoding. #330
Comments
Locale.ENGLISH controls the string formatting and I don't think it causes issues with using non English strings. The string format should be English because using the device language with some foreign languages can cause numbers to format to letters, such as Arabic that will change "123" into "۱۲۳". Or many other languages that use commas instead of decimals. Maybe it's an issue with strings not loading as UTF8. Try changing the source file your using to UTF8 encoding, and see if that fixes it. |
@LisoUseInAIKyrios |
@LisoUseInAIKyrios |
Bug description
When I wanna use
const-string
instructions with strings such as:§l§a#3
or contained characters from another languages it's compiled as invalid.Here, you can see comparation between Linux(valid)/Windows(invalid):
Solution
I think this bug related wtih
Locale.ENGLISH
used in the InlineSmaliCompilerAcknowledgements
The text was updated successfully, but these errors were encountered: