<br><br><div><span class="gmail_quote">On 11/22/05, <b class="gmail_sendername">Dave Evans</b> <<a href="mailto:memcached-list-20050609@djce.org.uk">memcached-list-20050609@djce.org.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Nov 21, 2005 at 04:52:33PM -0800, Brad Fitzpatrick wrote:<br>> Actually that sounds like exactly the wrong way to fix the problem.<br><br>Fair enough; I was forgetting that the module already includes the Storable
<br>logic (that is, I was thinking of Cache::Memcached as a simple byte storage<br>system). I'm still curious to know more about why (encode|decode)_utf8 didn't<br>work for the original poster.</blockquote><div><br><br>I found the problem, the string is being fetched from a MySQL database and of course you must manually call decode_utf8() on the string returned by DBI in order to get it properly encoded. I am also calling encode/decode_utf8 with the cache set/get and this fixes the problem. Thanks.
<br></div><br></div><br>