server encoding

Brad Fitzpatrick brad at
Tue Feb 28 17:40:17 UTC 2006

The memcached protocol deals with chunks of 8-bit bytes.  How your 
application wants to map those byte arrays to/from strings with 
encodings is undefined, but there is the "flags" field on each object so 
you can keep your own notes about the type of the data.

The server error messages can be assumed to be ASCII.

- Brad

Kevin Williams wrote:
> Hello all,
> I just joined the list. I searched the list archives on this but
> didn't find an exact answer, so here goes.
> I'm putting together a memcached server in C# / .NET. I want to make
> sure I am compatable with other client languages. As far as I can
> tell, strings are the only thing I would need to worry about. Do I
> need to keep everything in ASCII? UTF8? Does the data being stored
> need to be treated differently than, say, command strings and output
> messages?
> --
> Cheers,
> Kevin

More information about the memcached mailing list