From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] perl + utf? In-Reply-To: <47707b6ae7a9e578b1bf0eb6e1c4c4b0@plan9.bell-labs.com> Message-ID: <20030113100455.N90980-100000@fbsd.acl.lanl.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Date: Mon, 13 Jan 2003 10:10:30 -0700 Topicbox-Message-UUID: 40674a1c-eacb-11e9-9e20-41e7f4b1d025 unicode or not, dsirc is a fairly decent, easy to setup irc client. for tho= se who don't want to type in the same window they receive messages in, here is a s= olution (note that it works mostly for single-channel sessions, which is what i nor= mally do): % cat $home/bin/rc/irc #!/bin/rc # start a new window for dsirc # text, accept irc input in the # current window bind '#|' /tmp window -m dsirc < /tmp/data cat > /tmp/data1 % this works reasonably well for me, but on the other hand my irc needs are n= ot that complicated :) andrey On Mon, 13 Jan 2003, Russ Cox wrote: > I didn't do anything with Unicode when I ported Perl, > but it's hard to break the basics. > > It's probably the client not translating from Latin1 to UTF8. > Everything on IRC is in Latin1, I think. > > g% perl -e 'print "=E2=98=BA\n"' > =E2=98=BA > g% >