LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2015, 12:28 AM   #1
rohitlinux12
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
character mismatch in linux terminal


I have installed rhel6 in oracle virtual machine on my windows7 laptop. In rhel6 terminal when i type any symbol, it displays another symbol, like

when i type " it displays @ in terminal.
when i type | it displays ~ in terminal.
when i type \ it displays # in terminal.

pls help me to resolve this issue.

Note: on windows7 everthing works fine.
 
Old 09-07-2015, 03:28 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,711

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
It sounds like a font mismatch between what Windows is using, and what RH is using. RH normally would use UTF-8 which would handle nearly any character set... but Windows may be using something different.
 
Old 09-07-2015, 05:04 AM   #3
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 16.04 LTS
Posts: 234

Rep: Reputation: 65
Quote:
Originally Posted by rohitlinux12 View Post
I have installed rhel6 in oracle virtual machine on my windows7 laptop. In rhel6 terminal when i type any symbol, it displays another symbol, like

when i type " it displays @ in terminal.
when i type | it displays ~ in terminal.
when i type \ it displays # in terminal.

pls help me to resolve this issue.

Note: on windows7 everthing works fine.
Your keyboard doesn't match the current keyboard layout in RH (US <> UK).

http://superuser.com/questions/66826...eyboard-layout
 
Old 09-08-2015, 07:14 AM   #4
rohitlinux12
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi hortageno, i have tried keyboard layout US<>UK both, but it didnt work for me. pls provide your support. thanks
 
Old 09-08-2015, 07:27 AM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,838

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
What is your LANG and what is your keyboard?
 
Old 09-08-2015, 07:39 AM   #6
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 16.04 LTS
Posts: 234

Rep: Reputation: 65
Quote:
Originally Posted by rohitlinux12 View Post
Hi hortageno, i have tried keyboard layout US<>UK both, but it didnt work for me. pls provide your support. thanks
Try Applications -> System Tools -> Settings -> Region & Language

If you have "English (UK)" in there, remove it and add "English (US)".

Reading your first post again, are you saying that happens only in terminal and not in any other program?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Terminal uses wrong character encoding Snark1994 Linux - Software 1 10-28-2012 04:09 PM
The last character covered by the cursor in a terminal sheller Slackware 1 06-22-2010 02:29 AM
Character set in the terminal intuxicator Debian 1 05-01-2005 03:56 AM
Graphic Character on Terminal Emulator pymehta Linux - Software 1 03-25-2005 11:22 PM
HELP! terminal having weird character. kazi Linux - Newbie 4 03-22-2003 02:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration