【问题标题】:Wordpress new site with Polish letters带有波兰语字母的 Wordpress 新网站
【发布时间】:2013-12-09 23:15:15
【问题描述】:

我对 wordpress 中的波兰语字母有疑问。我在 wordpress 中添加了一个新站点,并将其从 html 转换为 php,在标题中我可以写像“ęą”这样的字母,但在正文中我不能。我看到这样的东西:“�꿟”。我搜索整个wordpress,什么也没有。也许有人知道该怎么做?

【问题讨论】:

    标签: php html wordpress polish


    【解决方案1】:

    您是否尝试过使用 utf-8 字符?以下是波兰语字符列表:http://webdesign.about.com/od/localization/l/blhtmlcodes-pl.htm

    确保您拥有<meta http-equiv="content-type" content="text/html;charset=utf-8" /> 作为一个元标记,你应该被设置。把它塞进你的标题里,一切都会变成肉汁。对于“ęą”,分别使用 ęą

    编辑:

    与问题无关,但如果您将 Wordpress 用于多语言网站,请查看 _e Wordpress 功能。我以前用过,对我很好http://codex.wordpress.org/Function_Reference/_e

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-04-02
      • 2017-04-11
      • 1970-01-01
      • 2013-10-10
      • 1970-01-01
      • 2017-05-12
      • 1970-01-01
      相关资源
      最近更新 更多