Skip to content

Commit

Permalink
fix non-english text display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xianing committed Aug 31, 2020
1 parent bc72d73 commit d331c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtmCWrapper/rtmBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ extern "C"
void onMessageReceived(const char* userId, const agora::rtm::IMessage* message) override
{
//const char *channelId = utf82gbk(m_channeId);
std::string msg = utf82gbk(message->getText());
std::string msg = message->getText();

if (cmr != nullptr)
cmr(userId, "", msg.c_str());
Expand Down

0 comments on commit d331c52

Please sign in to comment.