Scanner in JAVA outputs gibberish instead of Hebrew
问题 I have a problem with scanning Hebrew in Netbeans. I am trying to Scan the user's input and present in the Console, but it appears as Gibberish. My code is: public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Please input:"); System.out.println("Your input is: " + input.next()); } and this is the Console: run: Please input: שלום Your input is: ���� BUILD SUCCESSFUL (total time: 3 seconds) The same exact code works perfectly on Eclipse. If I