Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have installed tree on my ubuntu box, when i connect to it from Putty and I launch tree i get this :

$ tree
âââ html.vim -> xml.vim
âââ js.vim -> xml.vim
âââ xml.vim

instead of this :

$ tree --charset=ANSII
|-- html.vim -> xml.vim
|-- js.vim -> xml.vim
`-- xml.vim

I also get this problem when e.g. I list my packages from npm (package manager from nodejs)

$ npm list
/home/monkey/scripts/chatter
ââ⏠express@3.0.6
â âââ buffer-crc32@0.1.1
â âââ commander@0.6.1
â ââ⏠connect@2.7.2
â â âââ bytes@0.1.0

How can I change that (either from Putty or linux box) ?

share|improve this question
4  
Change the character translation in PuTTY to UTF-8. –  zxcdw Jan 14 '13 at 19:56
    
@zxcdw This worked thanks. You can post it as an answer so that I can accept it. –  Patryk Jan 14 '13 at 20:06

1 Answer 1

up vote 10 down vote accepted

Change the character translation in PuTTY to UTF-8.

share|improve this answer

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.