Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a problem with my shell on an Ubuntu virtual machine that I ssh in to. It was working fine until I output the contents of a JPEG file directly, since then the character encoding seems to have messed up and I've no idea how to fix it. Characters are looking like this:

ÆsudoÅ password for rory: 

I'm not sure if it's relevant, but the output of locale is:

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

I've tried rebooting with no effect. Any hints on how to solve?

share|improve this question
    
BTW, you can use hexdump (also named hd) to view binary files. –  Roger Pate Jul 2 '10 at 22:03

1 Answer 1

up vote 1 down vote accepted

The problem is probably in your local terminal rather than the remote system. Try the reset command within that terminal (from any system that has it) or close and re-open it.

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.