Skype for Business频道是否支持日语字符?
问题描述:
Skype for Business的Bot框架是否支持日语字符?
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.
答
Skype for Business可以显示日语字符,如下面的演示中所示:
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);
}
}
输出:
您应该真正尝试了解传递给机器人的方式/内容
You should really try to see how/what you are passing to the bot