Issue with Skype and botframework

Viewed 36

I'm having an issue with the Bot Framework and Skype only. When a user types an apostrophe, my bot gets 'apos' instead of the apostrophe and doesn't recognize the word. I've tried trapping "apos" with an if statement:

if (message.ChannelId == "skype")
{
    message.Text = Regex.Replace(message.Text, @"APOS(?=(m|s|re|t|d|ve))", @"'", RegexOptions.IgnoreCase);
}

That works in development but not in production. Has anyone run into an issue with apostrophes on Skype, and found a solution?

0 Answers
Related