Perl utf8

Paul Dlug paul.dlug at
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 <>

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

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list