Botframework-webchat: Encoding issue on message activity

Created on 25 Apr 2018  路  4Comments  路  Source: microsoft/BotFramework-WebChat

you have an encoding issue in your Web Chat inline implementation:
occurs when sending an Activity with text e.g. "脺脰脛眉枚盲脽" (German Umlauts) and type="message" back through the framework API https://directline.botframework.com/

fun fact: the encoding of the buttons is FINE :smile:
also texts in HeroCards are well encoded. just plain simple text has the wrong encoding

Most helpful comment

You could fix it by adding the following tag to your section
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

All 4 comments

Did you figure this out by chance? I am having the exact same issue.

You could fix it by adding the following tag to your section
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Support: can you see if it is still repro on CDN pre-release build? https://cdn.botframework.com/botframework-webchat/master/botchat.js.

@jvanderbiest works with the meta tag. thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Stardox picture Stardox  路  3Comments

corinagum picture corinagum  路  3Comments

filipjakov picture filipjakov  路  4Comments

compulim picture compulim  路  3Comments

marcasmar94 picture marcasmar94  路  3Comments