Forwarded from #302604 which was reported after applying these patches.

Date: Fri, 01 Apr 2005 14:20:00 -0500
From: "Timothy B. Terriberry" <[EMAIL PROTECTED]>
Subject: UTF-8 input broken after screen detach

Package: irssi-text
Version 0.8.9-6

Using the package provided as a fix to #274201, UTF-8 input works great
in a screen session when irssi is initially started. However, after
detaching and re-attaching the screen session, typing non-ASCII
characters (kanji, the Euro symbol, etc.) produces unconvertable text in
the input bar (displayed as circled question marks). Once the text is
sent, it is displayed correctly in the channel buffer, and non-ASCII
text from other users is also displayed correctly.

It does not matter if irssi is started in a brand new screen session, or
one that has been detached and re-attached several times. It always
works when initially launched, but not after being subsequently
re-attached while it is still running.

locale on the display system:
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

locale on the server system:
LANG=en_US.UTF-8:
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

.screenrc:
bell_msg ""
defscrollback 8192
vbell_msg ""
vbellwait 0
defutf8 on
defencoding "utf8"

.irssi/config term_type = "utf8"

Command to launch screen initially: screen -SU irc
Command to re-attach screen subsequently: screen -rdU irc

-- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to