http://www.couchbase.com/forums/thread/gibrish-non-english-characters-using-c-client-and-coucbase-2-0-betaにも記載されていますが、参照用にここにコピーしました:
こんにちはイダンム
.NET クライアントは、UTF-8 を使用して文字列を格納します。クライアントからのデータが正しく表示されていますか、それとも管理コンソールで文字列が混同されていませんか?
また、Json シリアル化に Newtonsoft.JSON を使用する新しい拡張メソッドを試すこともできます。.NET Couchbase Client Beta には、次のクラスを持つ Couchbase.Extensions があります。
public static class CouchbaseClientExtensions
{
public static bool StoreJson(this CouchbaseClient client, StoreMode storeMode, string key, object value)
{
var json = JsonConvert.SerializeObject(value);
return client.Store(storeMode, key, json);
}
public static T GetJson<T>(this CouchbaseClient client, string key) where T : class
{
var json = client.Get<string>(key);
return json == null ? null : JsonConvert.DeserializeObject<T>(json);
}
}
使用している拡張機能の Encoding.Default.GetBytes に問題がある可能性があります...