Does Skype for Business channel support Japanese characters?

不打扰是莪最后的温柔 提交于 2020-01-03 04:48:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!