Forums

[resolved] CE fonts - Polish letters don't display (5 posts)

  1. ailusia
    Member
    Posted 3 years ago #

    Hi, I'm creating this website:
    http://klikerlab.pl/wordpress/
    and it doesn't display Polish letters (they change to question marks). You can see this at the end of the first post, here: http://klikerlab.pl/wordpress/?p=1
    What's wrong?

  2. iridiax
    Member
    Posted 3 years ago #

    Check your language and encoding:

    • 1. Dashboard -> Settings -> Reading -> Encoding for pages and feeds

      Is it UTF-8?

    • 2. wp-config.php

      Do you have this:

      /** Database Charset to use in creating database tables. */
      define('DB_CHARSET', 'utf8');
    • 3. Your theme -> header.php

      Do you have something like this (good) or is your charset hard-coded (bad):

      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

      Has your theme added an incorrect lang= (en-US is US English)? I don't know if this affects display or not.

      <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">

    • 4. Are you using UTF-8 characters in your text? If not, the W3C validator will likely complain.

      http://validator.w3.org/

    Also see: http://codex.wordpress.org/WordPress_in_Your_Language

  3. ailusia
    Member
    Posted 3 years ago #

    2. wp-config.php - yes, I have this line. But I also found this in the file:

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
    * language support.
    */

    So maybe I should create a folder "languages" in wp-content folder (because I don't have one), and install there... something? Thanks for ideas.

  4. ailusia
    Member
    Posted 3 years ago #

    I found this:
    http://svn.automattic.com/wordpress-i18n/pl_PL/branches/2.8/dist/wp-content/languages/pl_PL.php

    and it says:
    <?php
    $wp_default_secret_key = 'wprowadz tutaj unikatowa fraze';
    ?>

    is it something that would support Polish language??

  5. ailusia
    Member
    Posted 3 years ago #

    Update: now it works, I had to download a plugin UTF-8 Database Converter.

Topic Closed

This topic has been closed to new replies.

About this Topic