Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
â âââ 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
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
up vote 16 down vote accepted

Change the character translation in PuTTY to UTF-8.

share|improve this answer

Your Answer


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.