Question On 7.2 And Weird Characters

Home » CentOS » Question On 7.2 And Weird Characters
CentOS 4 Comments

When I run this command:
rm /tmp/jerry.txt rm: remove regular file â/tmp/jerry.txtâ?

I get the a with the carrot on top…

How do I get back to the normal characters ?

echo $TERM
linux

Thanks,

Jerry

4 thoughts on - Question On 7.2 And Weird Characters

  • Are you logged in on a console, or remotely using a terminal emulator?
    If the latter, which one? I’d expect your TERM to be some xterm variant.

  • This may also be related to your terminal and supported language sets. You may be using unicode UTF-8, where your terminal (I’m assuming you’ve ssh’d in with putty or something) is only configured for latin-1 or iso-8859-1.

    “echo $LANG” and set your terminal emulator (like putty) appropriately.


    Jim Perrin The CentOS Project | http://www.CentOS.org twitter: @BitIntegrity | GPG Key: FA09AD77

  • Your locale specifies an encoding that your terminal doesn’t understand, i.e., they are out of sync, e.g., LC_CTYPE includes “.UTF-8” but your terminal expects Latin1 or vice-versa. Change your terminal to match LC_CTYPE or change LC_CTYPE to match your terminal (perhaps even unset it).

    /mark