0

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?

Raj
  • 4,342
  • 9
  • 40
  • 45

1 Answers1

1

Set the LANG environment variable in your shell:

LANG=en_EN.utf-8

See also the ubunutu docs on environment variables.

stacker
  • 68,052
  • 28
  • 140
  • 210