Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 javascript 中遇到法语单词(重音/特殊字符)的问题。例如,Payable date pass.e de maturit' here 它需要显示确切的字符而不是...。请帮我。
先感谢您。
将所有 HTML 和 JS 文件保存为 UTF-8 并将 HTML 设置Content-Type为 UTF-8:
Content-Type
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />