Re: How do you set utf-8 on the socket in POE::Component::Server::tcp?

Martin Evans <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Organization Easysoft Limited
Message-ID <[email protected]>
Martin J. Evans wrote:
> I am using POE::Component::Server::tcp and receiving utf8 data through 
> the socket. How can I set the utf8 flag on the socket? as in 
> binmode($fh, ':utf8').
> 
> Thanks
> 
> Martin

I should have pointed out I'm using client_input handler and not doing 
much of the work myself e.g., I cannot use accept_handler.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.