Reputation: 4462
I'm running a Java program from command line in Ubuntu, and trying to print accented characters onto the console. But the characters get displayed as ?
on the console. How do I make the shell display accented characters that are output from the program?
Upvotes: 0
Views: 468
Reputation: 68982
Set the LANG environment variable in your shell:
LANG=en_EN.utf-8
See also the ubunutu docs on environment variables.
Upvotes: 1