maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Osso-xterm character encoding.. (https://talk.maemo.org/showthread.php?t=12875)

locusf 2007-12-08 13:24

Osso-xterm character encoding..
 
Hi!

I was wondering on how to switch the character encoding in IT OS 2008 osso-xterm? When I try to ssh to non-UTF8 server the foreign characters (scandinavian ones in particular) are all squares.

tompe 2008-02-10 17:48

Re: Osso-xterm character encoding..
 
Quote:

Originally Posted by locusf (Post 106005)
Hi!

I was wondering on how to switch the character encoding in IT OS 2008 osso-xterm? When I try to ssh to non-UTF8 server the foreign characters (scandinavian ones in particular) are all squares.

Did you solve this problem? I have now exactly this problem. I tried to remove the Encoding line in the desktop parameter file for osso-xterm but it did not work (do I have to reboot for this to take effect?).

locusf 2008-02-10 18:28

Re: Osso-xterm character encoding..
 
Hi!

There is a little progress on this. I have contacted Urho Konttori, the author of osso-xterm, to add a menu that can change character set on the fly. I havent tried to modify the .desktop file yet, gotta try that now.

tompe 2008-02-10 19:16

Re: Osso-xterm character encoding..
 
It is not just the character set that has to be changed. What is sent when you press the keys (e.g. едц) has to be changed also.

I did not manage to set Encoding to something that worked. And I have run out of ideas. This is very annoing since I am reading my emails usning emacs running in a screen and not having working едц is not acceptable.

locusf 2008-02-10 19:25

Re: Osso-xterm character encoding..
 
Quote:

Originally Posted by tompe (Post 140637)
It is not just the character set that has to be changed. What is sent when you press the keys (e.g. едц) has to be changed also.

I did not manage to set Encoding to something that worked. And I have run out of ideas. This is very annoing since I am reading my emails usning emacs running in a screen and not having working едц is not acceptable.

Don't worry, I bet they have that fixed in the coming OS2008 version. I sure hope so, since my irssi session always looks terrible on finnish channel :)

Jaykie 2008-02-10 20:14

Re: Osso-xterm character encoding..
 
Got the same problem...irssi displays scandinavian characters oddly. Anyhow i think this was working in previous OS2007 when xterm was not built-in. At least don't remember having any probs with irssi.

locusf 2008-02-11 08:25

Re: Osso-xterm character encoding..
 
Quote:

Originally Posted by Jaykie (Post 140657)
Got the same problem...irssi displays scandinavian characters oddly. Anyhow i think this was working in previous OS2007 when xterm was not built-in. At least don't remember having any probs with irssi.

I'll try to hack something up today, ie. a hacked version of osso-xterm.

tompe 2008-02-11 23:00

Re: Osso-xterm character encoding..
 
By doing

(set-terminal-coding-system 'utf-8) ;; for N810
(set-keyboard-coding-system 'utf-8) ;; for N810

in my emacs I got the Swedish characters to work properly.

locusf 2008-02-12 13:22

Re: Osso-xterm character encoding..
 
What about us who don't use emacs lol :).

Jaykie 2008-03-14 11:27

Re: Osso-xterm character encoding..
 
LocusF or Urho, any progress with this one? This bug annoys a lot or maybe it's just a matter of configuration...anyways it was working out-of-the-box with advanced osso-xterm.

Br,
Jaykie

salde 2008-04-14 12:30

Re: Osso-xterm character encoding..
 
any progress here?

irssi looks terrible in finnish-channels without ц and д ;)

Jaykie 2008-04-14 18:44

Re: Osso-xterm character encoding..
 
Hi,

Upgrade your osso-xterm from here:
http://andrew.olmsted.ca/maemo/osso-xterm
You may need to install those libs first. I'm using v0.14.

then you can set character encoding from tools menu (iso8859-15)

jaykie

vinc17 2008-04-17 00:50

Re: Osso-xterm character encoding..
 
There are alternative solutions:

The best one is to use UTF-8 locales on the remote side, but this is not always possible: multibyte characters need to be supported (by the OS and the applications), the corresponding locales must be installed, there may be annoying bugs and so on... Moreover, SSH has no standard way to transmit the charset; and doing something automatically may be tricky. Note: transmitting the LC_CTYPE environment variable works with most platforms, but not with the N810 (because UTF-8 is implicit here thus doesn't appear in the locale environment variables -- see output of "locale -a").

The screen utility can do transcoding. Same possible problems as above, except that applications that will run in screen don't need to support multibyte characters.

holger 2010-05-03 16:36

Re: Osso-xterm character encoding..
 
Quote:

Originally Posted by Jaykie (Post 169711)
Upgrade your osso-xterm from here:
http://andrew.olmsted.ca/maemo/osso-xterm
You may need to install those libs first. I'm using v0.14.
then you can set character encoding from tools menu (iso8859-15)
jaykie

I really, really need an upgrade of osso-xterm allowing me to change the character encoding to ISO-8859. I have downloaded the v0.14 from the url quoted. How do I install it in my N900? Thanks in advance for relevant advice.


All times are GMT. The time now is 11:08.

vBulletin® Version 3.8.8