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.
我敢肯定这是一个荒谬的基本问题,但我找不到任何东西可以向我解释。我的网站需要英文和乌克兰文版本,英文版本已经编码。我只是不知道如何告诉 html 文档为网站的乌克兰语部分显示乌克兰语字符。任何帮助都会被业余程序员谦虚地接受。
尝试将其添加到您的 html 头中 <meta charset="UTF-8" />
<meta charset="UTF-8" />
并确保所有文本(在您的数据库或其他任何内容中)都编码为 utf-8