Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to write some pretty, special characters taken from Web in my Shell Console with echo command. I want to write, for example, ▲ character, but it shows me ��� character. How can I solve the problem? Thanks!

Note: When I run locale command, it shows these:

locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=az_AZ.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=az_AZ.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=az_AZ.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=az_AZ.UTF-8
LC_TELEPHONE=az_AZ.UTF-8
LC_MEASUREMENT=az_AZ.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
share|improve this question

1 Answer 1

up vote 3 down vote accepted

In your terminal try to set the character encoding to Unicode (UTF-8):

enter image description here

share|improve this answer
    
Thanks, @Radu! It works great! ;) –  Ziyaddin Sadigov Feb 23 at 11:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.