Firefox中PowerBI.js在PowerPoint Online下的编码错误问题求助
PowerBI.js Encoding Error in Firefox When Running via PowerPoint Online
我在微软商店上架了一款名为PowerBI Tiles的产品,该产品使用微软官方的powerbi.js API获取已登录用户的可视化内容。
当用户在Firefox浏览器中通过PowerPoint Online打开该应用时,会弹出如下错误提示:
"The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature."
我们团队经过排查后确认,问题并非出自我方代码,而是源自微软官方的powerbi.js——甚至微软官方的演示项目在Firefox中也无法正常运行,会出现相同的编码错误。我们制作了两个动图来复现该问题:
- 微软官方演示在Firefox中的运行情况
- PowerBI Tiles在Firefox中的运行情况
想问问有没有其他开发者遇到过这类问题?求分享可行的解决方案!感谢大家的帮助!
内容的提问来源于stack exchange,提问作者João Sousa
相关产品推荐
相关产品推荐

