getFriendDetails std::string using only cStringUsingEncoding

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