问题
Does Bot Framework for Skype for Business support Japanese characters?
As shown in the attached screen shot, we are receiving all "?????"s for Japanese characters.
回答1:
Skype for Business can display Japanese Characters, like in my demo below:
[Serializable]
public class Dialog44558422 : IDialog<object>
{
public async Task StartAsync(IDialogContext context)
{
context.Wait(MessageReceivedAsync);
}
private async Task MessageReceivedAsync(IDialogContext context, IAwaitable<object> result)
{
var activity = await result as Activity;
await context.PostAsync("こんにちは、これはテストです");
context.Wait(this.MessageReceivedAsync);
}
}
Output:
You should really try to see how/what you are passing to the bot
回答2:
I reported the issue to Microsoft in mid-June, and they had already noticed the problem. They said:
This is actually an issue in the sfb controller. This is fixed now and currently being validated internally. This is expected to roll out sometime next week or early in July.
The fix has now been officially released, and I can confirm that it solves the problem. Now Japanese characters are sent correctly:
来源:https://stackoverflow.com/questions/44558422/does-skype-for-business-channel-support-japanese-characters