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?
|
feedback
|
|
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? | |||||||
feedback
|
|
The most sure fire way is to use the ‘locale’ command. It will print out all the various and sundry variables that dictate what character set to use. For instance, this is my output on RHEL5.3, set to only use UTF-8 by default.
| |||
|
feedback
|
|
The lamest way: run following and check the output. It should be a capital O with circumflex.
| |||||||||
feedback
|