qehgt/myrpc — Issue #4: msgpack rpc does not support std::wstring
Author: tskarthikus
Created: 2012-02-15 10:45:08+00:00
State: open

Thank you for developing myrpc. It is very useful. We are facing one issue. We couldn't send/recv unicode Japanese string.
Would it be possible? Do we miss something?

Shown below is the problematic code snippet:

std::wstring wstrdata(L"Hello 金型");
req.result(wstrdata);

Error	4	error C2039: 'msgpack_pack' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'	e:\works\rpc\inc\msgpack\object.hpp	218	testNativeServer

While the same works fine for std::string.