I copied all the braille characters into a string array and was hoping to use it to read and print braille characters. However, when I was trying to compile the program.the following error message popped up
private String[] alphabet= {"⠁","⠃","⠉","⠙","⠑","⠋","⠛","⠓","⠊","⠚","⠅","⠇","⠍","⠝","⠕","⠏","⠟","⠗","⠎","⠞","⠥","⠧","⠭","⠽","⠵","⠯","⠿","⠷","⠮","⠾","⠡","⠣","⠩","⠹","⠱","⠫","⠻","⠳","⠪","⠺","⠂","⠆","⠒","⠲","⠢","⠖","⠶","⠦","⠔","⠴","⠌","⠬","⠼","⠜","⠄","⠤","⠈","⠘","⠸","⠐","⠨","⠰","⠠","⠀"};
this is the string array i was trying to use.
Thanks
Edit:
Update. The program compiles and save just fine after changing the encoding preference or clicking the "save as UTF-8" button. However, I am still unable to print the character like one could with a normal string.
I am looking for sth like this
System.out.println("this is the character: "+ "⠛");
expected output
this is the character: ⠛
actual output
this is the character: