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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -