I am using Ubuntu 12.04 LTS. When I try something like this in the terminal:
rfx@digest:/usr/share/fonts/truetype/ttf-dejavu$ echo
Symbols are displayed correctly. But if I try to print Unicode characters using python 2.7, I get the following:
>>> print u'' │┌≈
As python shows, I have the default utf-8 encoding for the terminal:
>>> sys.stdout.encoding 'UTF-8'
python ubuntu python-unicode
sunprophit
source share