PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Build Failed, java doesn't support native language character "İ"

Open CptJackieSparrow opened this issue 8 years ago • 7 comments

Description: My native language contains "İ" for capital "i", Java compiling it wrong. It should build it as transferIvThreshold, not transferİvThreshold. Tried to fix it manually from settings.kt, replaced it with "I" or "i", couldn't managed to do it. Don't want to change language of OS, as it'll mess up so many things. Is there anything i can do?

Steps to reproduce:

  1. gradlew build
  2. gradlew run

Expected behavior: To build, pass all tests, and everything should be ok

Actual behavior: giving test errors, running stuck at %83 everytime

Stacktrace (If it's a crash): http://pastebin.com/sUH2UqUj

Version: 0.6.0 (trying to compile it myself)

Operating System: Windows 10

Java version: Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) (using JDE u8-102 as well)

Leave this sentence in your issue as proof that you have read and used this template.

CptJackieSparrow avatar Aug 19 '16 22:08 CptJackieSparrow

oh by the way, forgot to say that i tried gradlew build -x test and gradlew run -x test, no chance

CptJackieSparrow avatar Aug 19 '16 22:08 CptJackieSparrow

In what editor do you edit your json files (since I blame that program for auto-correcting that capital I)? Is it a text processor like MS Word?

The bot should not "guess" that the capital I in the json file should be "İ" on your computer.

Sieberkev avatar Aug 19 '16 22:08 Sieberkev

I'm using Sublime editor for most cases

CptJackieSparrow avatar Aug 20 '16 21:08 CptJackieSparrow

It's not auto correcting, when Java builds it, it inputs "I" as "İ", then outputs "İ" as it is.

CptJackieSparrow avatar Aug 20 '16 21:08 CptJackieSparrow

It's not auto correcting, when Java builds it, it inputs "I" as "İ", then outputs "İ" as it is.

For reference:

"I": '\u0049' "İ": '\u0130'

jabbink avatar Aug 22 '16 09:08 jabbink

so what should i do at this point? it's building it wrong :/ can't test poke sniping

CptJackieSparrow avatar Aug 22 '16 22:08 CptJackieSparrow

Can you do git diff and verify that your computer didn't fuck up either the template or the settings.kt?

jabbink avatar Aug 22 '16 22:08 jabbink