Perl utf8

Paul Dlug paul.dlug at gmail.com
Mon Nov 21 13:50:54 PST 2005


I'm having an issue getting Cache::Memcached (perl) to handle utf8 strings.
I've tried calling encode_utf8() and decode_utf8() when setting/getting
strings in the cache but this doesn't seem to help.

The only solution I found was to force the socket to utf8 by adding:

binmode $sock, ":utf8";

after each socket() call in Memcached.pm <http://Memcached.pm>

Perhaps someone else has a different solution, or can a way to turn on utf8
support be added to Cache::Memcached?


Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20051121/b40a48e2/attachment.html


More information about the memcached mailing list