Wide character in syswrite

Philip Newton philip.newton at gmail.com
Tue Dec 11 16:23:48 GMT 2007


On Dec 11, 2007 4:35 PM, Robert Rothenberg <robrwo at gmail.com> wrote:
>
> So I'm experimenting with Net::Dict and have a problem when I submit certain
> words with wide characters (e.g. Polish L-slash):
>
>  Wide character in syswrite at /usr/local/share/perl/5.8.8/Net/Cmd.pm line
> 232, <STDIN> line 2.
>
> Does anyone know of a workaround for this?

Explicitly encode your characters into bytes in the way expected by
the network protocol? (Whether that's Latin-1 or UTF-8 or ... is
something you'd have to find out, I think.)

Cheers,
-- 
Philip Newton <philip.newton at gmail.com>


More information about the london.pm mailing list