How to find out if a terminal supports UTF-8
I'm setting up the CPAN module for perl on CentOs 5, and one of the questions is 'Does your terminal support UTF-8?' (paraphrased). How do I find out?
Really, the surefire way to test is to download a text file and cat it in the terminal and see if everything looks ok.
or, if you can, recompile the terminal enabling the unicode option (assuming it has one).
what does $TERM and $LANG look like?
Type this in your terminal:
echo -e '\xe2\x82\xac'
If your terminal supports UTF-8 it will output the euro sign:
€