【发布时间】:2018-10-19 17:33:20
【问题描述】:
我已经按照https://developers.freshchat.com/ 的文档实施了 Freshchat。这是一个西班牙语网站。在我的代码中,我使用了这个包含重音符号的块,因为文本是西班牙语:
channel_response: {
offline: 'Nos hemos retirado. Por favor déjanos un mensaje.',
online: {
minutes: {
one: "Contestando en aproximadamente {!time!} minutos.",
more: "Respuestas típicamente en {!time!} minutos."
}
..........
..........
..........
}
}
问题是我使用more: "Respuestas típicamente en {!time!} minutos.",我看到了这个:
如果我使用more: "Respuestas típicamente en {!time!} minutos.",我会看到:
在任何情况下,重音符号都无法正确显示。我已经在使用这个了:
<script>
window.fcWidget.init({
token: "[token string]",
host: "https://wchat.freshchat.com",
locale: "es",
..........
..........
..........
});
</script>
由于我使用的是locale: "es",我希望重音符号能够毫无问题地被识别。有什么想法可以解决这个问题吗?
【问题讨论】:
标签: html special-characters diacritics freshdesk