9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <andrey@lanl.gov>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] perl + utf?
Date: Mon, 13 Jan 2003 10:10:30 -0700	[thread overview]
Message-ID: <20030113100455.N90980-100000@fbsd.acl.lanl.gov> (raw)
In-Reply-To: <47707b6ae7a9e578b1bf0eb6e1c4c4b0@plan9.bell-labs.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 858 bytes --]


unicode or not, dsirc is a fairly decent, easy to setup irc client. for those who
don't want to type in the same window they receive messages in, here is a solution
(note that it works mostly for single-channel sessions, which is what i normally 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 not 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 "☺\n"'
> ☺
> g%
>



      reply	other threads:[~2003-01-13 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-12 22:19 andrey mirtchovski
2003-01-13 17:07 ` Russ Cox
2003-01-13 17:10   ` andrey mirtchovski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030113100455.N90980-100000@fbsd.acl.lanl.gov \
    --to=andrey@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).