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.
我需要在我的 xpage 中支持不同的语言。我被告知波兰语有特殊字符,这是 unicode 字符集的一部分。我已经读到我需要在我的 xpages 中添加以下内容以支持波兰语
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
我的问题是在使用其他语言时是否可以安全地将这个元标记添加到我的 xpages 而不会破坏我的 xpages。还是应该仅在使用波兰语时应用此 Meta 标签?
添加应该是安全的。我有一个支持多语言的应用程序,它使用 UTF-8。
添加此元标记的最简单方法是在页面生成选项卡上的 Xsp 属性中设置它。只需从服务器默认更改为 utf-8: