Re: gnuclient / display special characters in tty
Aidan Kehoe <[email protected]> Fri, 4 Aug 2006 12:55:51 +0200
| Newsgroups | gmane.emacs.xemacs.mule |
|---|---|
| Message-ID | <[email protected]> |
Ar an ceathr=C3=BA l=C3=A1 de m=C3=AD L=C3=BAnasa, scr=C3=ADobh Roland F= ehrenbacher:=20 > I have an annoying problem with the display of I18n stuff. I usually > start my xemacs session on my workstation at work under X where > everything works fine, i.e. special characters like umlaut etc. are > displayed correctly. When I want to connect to my running xemacs sessi= on > using gnuclient from a non-X connection, i.e. a terminal, however, I > cannot input or display the special characters. >=20 > Any ideas how this problem can be solved? Add this to your ~/.xemacs/init.el :=20 (add-hook 'create-console-hook=20 '(lambda (con)=20 (when (eq (device-type (car (console-device-list con))) 'tty) (set-input-mode t nil 1 nil con) (set-console-tty-coding-system con 'iso-8859-1)))) ;; High-bit set is a character, not the meta key.=20 (set-input-mode nil nil 1) and make sure that your terminal emulator is sending ISO-8859-1; in PuTTY= , you can configure this from the configuration pane with Window -> Translation -> =E2=80=9CReceived data assumed to be in which character se= t.=E2=80=9D=20 > I'm using xemacs-mule version 21.4.18; December 2005 from Ubuntu 6.06. --=20 Santa Maradona, priez pour moi!