It works! Thanks so much for your help on this Majid!
Levy
On Tue, Nov 16, 2010 at 8:09 PM, Majid Khan majidkha...@gmail.com wrote:
Hi Levy,
For UTF-8 you need to encode first and then need to pass to the memcache
module. e.g.
In order to set the value in Memcache Server:
set value
Hi,
We're having some issues with the nsmemcache module. It works perfectly fine
if the string we're trying to store is regular alphabet characters, but once
we try to store utf-8 chars, things starts to go awry. Has anyone had this
issue before?
Thanks,
Levy Bajamundi
Systems Developer
Hi Levy,
For UTF-8 you need to encode first and then need to pass to the memcache
module. e.g.
In order to set the value in Memcache Server:
set value {some chinese here :)}
set encoded_value [encoding convertto utf-8 $value]
ns_memcache set key $encoded_value 120
To get:
set value