<? xml version="1.0" encoding="utf-8"?>
根据 W3C 标准,我们必须使用 utf-8 编码,为什么我们不能使用 utf-16 或任何其他编码格式?
utf-8编码和其他编码格式有什么区别。
最佳答案
XHTML 不需要 UTF-8 编码。如 this section of the specification 中所述,可以给出任何字符编码 - 但 the default是 UTF-8 或 UTF-16。
关于utf-8 - 为什么我们在 XHTML 中使用 UTF-8 编码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34573088/