C-Cedilla (), Putty and Linux

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
C-Cedilla (), Putty and Linux

Having just transferred a project from Sun Solaris to Red Hat Linux 5.1 on an HP Blade, we have an issue seeing C-Cedilla () characters in Putty.

While a 'more' command shows the correctly, cut and paste converts it to ^A and vi converts it to yet another ctrl A character.

The character is a very commonly used separator in our project and it's going to be a major pain to change it everywhere, so is there a simple solution to this?
# 2  
I'd first check to make sure you're LANG environment variable matches the character set you've configured in Putty.

When logged into RH, do this:

echo $LANG

It should be set to en_US.UTF-8. If it's not, then you need the following line in your .bash_profile:

export LANG=en_US.UTF-8

Start a new shell and echo the LANG variable to make sure the changes to your profile worked.

If they did, it's time to make sure Putty is using UTF-8. From the putty config, under Window > Translation make sure the character set translation is also set to UTF-8.

That's usually where I start if Putty isn't working properly with various characters.
# 3  
Thanks Stanley,

$ echo $LANG

So that's OK.

The translation we currently use on Sun is

ISO-8859-1:1998 (Latin-1, West Europe)

changing that to UTF8 in putty changes the character but not to a , it's more of a graphics block preceded by ^.

Any other ideas?
# 4  

Changing the LANG to LANG=en_GB.iso885915 and exporting it in my .profile has done the trick.

Thanks for the reply Stanley, it gave us the lead we needed.
# 5  
Just to clarify, you are experiencing this problem in Redhat when connecting via SSH through putty, correct?

Try using the ISO-8859-1 character set in Putty and set your LANG to en_US:
export LANG=en_US

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #691
Difficulty: Medium
UnixWare is a Unix operating system originally released by Univel.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

C cedilla Delimiter interpretation issue

Hi Folks, I am trying to generate a file with the C Cedilla delimiter. I have a file that uses the below DML (In Dev region, the file that i am trying to generate): decimal("") acct_id; and so and so for new columns When I cat this file I get below output:... (3 Replies)
Discussion started by: eap714.com
3 Replies

2. UNIX for Beginners Questions & Answers

Text color in Linux scripts via putty

hi Folks, Can anyone help with changing the color of the words in a linux shell script? I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript. Is there a way to have one color in a linux shell... (5 Replies)
Discussion started by: jonnyd
5 Replies

3. UNIX for Dummies Questions & Answers

On Linux, Putty Log is not WYSIWYG like the screen?

Hi all, I am not sure if this is a known issue. I am using Putty and logging the session into a log, only the printable one. On Solaris, all is working fine. But on Linux servers, Redhat or Suse, while the screen looks correct, the log file is not. Note example below: On the screen,... (1 Reply)
Discussion started by: newbie_01
1 Replies

4. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

5. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

Hi All, I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help. Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies

6. Linux

Opening a GUI from a putty window on Linux

Hi, I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that. If anybody knows any such workarounds kindly let me know. Shell I am using is... (4 Replies)
Discussion started by: forstudy3
4 Replies

7. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

8. UNIX for Advanced & Expert Users

Reading putty command line parameters from Linux

I am running Putty 0.60 from Windows XP and I am connecting to a Linux box. I would like to be able to pass a command line parameter to my Linux session so that my Linux session can execute a specific command, depending on the command line parameter. I have looked on the Internet and tried... (1 Reply)
Discussion started by: SFNYC
1 Replies

9. UNIX for Dummies Questions & Answers


i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

10. Red Hat

How to take printout of linux file from windows xp using putty?

Friends, I have installed Putty in my windows xp pc. I am connecting the RHEL AS 3 server using putty from my windows xp. My printer is connected to my windows xp. Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer through putty. For Example: my pc ip is (3 Replies)
Discussion started by: sathyguy
3 Replies

Featured Tech Videos