I am storing some text values in memcached. An example of such a string is:
El Salvador (República De El Salvador)
When I attempt to retrieve the string, I get an empty string. I suspect this is something to do with UTF-8 strings. How may I store foreign language text in memcached?
I’m not a Unicode expert, but this piqued my curiosity so I wrote a little code:
http://static.bwerp.net/~adam/20100420/m.php
Seems to work reasonably well, over here. You said you thought it was a UTF-8 issue. What happens if you remove the accented character?
For posterity, here’s the code in the linked file: