I'm trying to use a bunch of box drawing characters from UTF-8 to make a grid, and I can't seem to get them to display properly in my terminal. The characters in the text editor vs the output
I've got my text editor encoding set to UTF-8 so I can see the right characters in the editor, but the terminal sets them all to '?'. I'm using gradle to build, and passing -encoding UTF-8
as an argument to the compiler, and I've also run chcp 65001
in the terminal before compiling and running.
Update: By removing -encoding UTF-8
from the compile args it now works for all characters except ━
(\u2501
) for some reason, which displays as �?�?�?