maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Change character encoding in Xterm? (https://talk.maemo.org/showthread.php?t=35780)

fouro 2009-12-03 08:39

Change character encoding in Xterm?
 
I understand that there is a bug made for Xterm settings, but that's all the information I was able to dig up here or from Google.

Is there any way to change the character encoding in terminal? I'm using UTF-8 on my server (I'm a bit noob but managed to get it working anyway) and have some problems with ö and ä when using Irssi through SSH.

pillar 2009-12-03 08:49

Re: Change character encoding in Xterm?
 
for me the problem was solved by starting screen with -U (or continuing with -drU)

fouro 2009-12-03 09:14

Re: Change character encoding in Xterm?
 
Well, that worked nicely, thanks.

zlatko 2010-03-09 12:01

Re: Change character encoding in Xterm?
 
There is a simple way of changing character encoding of XTerm. You have to be root and execute following:

# gconftool -s /apps/osso/xterm/encoding -t string UTF-8

In my case I wanted to replace UTF-8 with CP1251, so it looks like tis:

# gconftool -s /apps/osso/xterm/encoding -t string CP1251

You can change this way to desired encoding. To check current encoding use:

# gconftool -g /apps/osso/xterm/encoding


All times are GMT. The time now is 07:26.

vBulletin® Version 3.8.8