getFriendDetails std::string using only cStringUsingEncoding:NSUTF8StringEncoding

We will see if it will work with real data passed into it.