【问题标题】:Accent marks in manifest json清单 json 中的重音符号
【发布时间】:2018-02-26 15:01:03
【问题描述】:

我需要在 manifest.json 中写下这个描述:

"description" : "Somos la única empresa agroindustrial del país presente en toda la cadena de valor granaria."

问题是当我部署应用程序时,在谷歌浏览器控制台中,重音符号被破坏了

"description" : "Somos la única empresa agroindustrial del país presente en toda la cadena de valor granaria."

我该如何解决这个问题?

【问题讨论】:

标签: json reactjs progressive-web-apps


【解决方案1】:

您需要修改您的网络服务器配置,如果您正在运行 Apache,您可以创建或更新您的 .htaccess 并添加以下内容:

AddDefaultCharset utf-8
AddType 'application/json; charset=UTF-8' .json

您应该将 Charset 更改为 UTF-8,但在这种情况下,这不是文件编码的问题。

【讨论】:

  • 修复它!谢谢!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-03-17
  • 2010-12-16
  • 1970-01-01
  • 1970-01-01
  • 2014-11-11
  • 2010-11-28
  • 1970-01-01
相关资源
最近更新 更多