How can I change locale/encoding to avoid getting weird characters in terminal?
8,939
Change the character translation in PuTTY to UTF-8.
Related videos on Youtube
Author by
Patryk
Software Engineer C++/Go/shell/python coder Linux enthusiast Github profiles: https://github.com/pmalek https://github.com/pmalekn
Updated on September 18, 2022Comments
-
Patryk over 1 year
I have installed
tree
on my ubuntu box, when i connect to it from Putty and I launchtree
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 fromnodejs
)$ npm list /home/monkey/scripts/chatter ââ⏠[email protected] â âââ [email protected] â âââ [email protected] â ââ⏠[email protected] â â âââ [email protected]
How can I change that (either from Putty or linux box) ?
-
Admin over 11 yearsChange the character translation in PuTTY to UTF-8.
-