S Spokers 97 2 23 Июл 2020 #1 Я ставлю кодировку UTF-8 в эклипсе всё чётко Захожу в клиент там не всё чётко Вложения 1595531267059.png 19 KB · Просмотры: 10
Решение timaxa007 23 Июл 2020 Spokers написал(а): в клиент Нажмите для раскрытия... А компилируешь не в UTF-8? Спойлер Gradle (Groovy): sourceCompatibility = targetCompatibility = "1.8" compileJava { sourceCompatibility = targetCompatibility = "1.8" } compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } Gradle (Groovy): compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } В самый конец файла build.gradle.
Spokers написал(а): в клиент Нажмите для раскрытия... А компилируешь не в UTF-8? Спойлер Gradle (Groovy): sourceCompatibility = targetCompatibility = "1.8" compileJava { sourceCompatibility = targetCompatibility = "1.8" } compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } Gradle (Groovy): compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } В самый конец файла build.gradle.
timaxa007 Модератор 5,831 409 676 23 Июл 2020 #2 Spokers написал(а): в клиент Нажмите для раскрытия... А компилируешь не в UTF-8? Спойлер Gradle (Groovy): sourceCompatibility = targetCompatibility = "1.8" compileJava { sourceCompatibility = targetCompatibility = "1.8" } compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } Gradle (Groovy): compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } В самый конец файла build.gradle. Позитивный голос 0 Негативный голос Решение
Spokers написал(а): в клиент Нажмите для раскрытия... А компилируешь не в UTF-8? Спойлер Gradle (Groovy): sourceCompatibility = targetCompatibility = "1.8" compileJava { sourceCompatibility = targetCompatibility = "1.8" } compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } Gradle (Groovy): compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } В самый конец файла build.gradle.