java - Intellij System.out.println question marks -


i trying run hebrew words system.out.println - , question marks: ????

this issue prevent me make if statement - check if string equals on hebrew.

string 1 = "בוקר"; string 2 = "בוקר"; if (one.equals(two)) {   system.out.println("בוקר"); } //just test question marks: system.out.println("בוקר"); 

i goes other settings -> default settings -> editor -> file encodings -> tried put utf-8, , after failed tried put windows-1255

still, question marks.

add

-dfile.encoding=utf-8 

when start program


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -