WordPress.org

Forums

[resolved] Character problems (12 posts)

  1. kosir
    Member
    Posted 7 years ago #

    Hello!

    I am using WP 2.2 and have problems displaying characters that are used in my language (Slovene). Well actually only one of three additional we have in our alphabet.

    I tried changing encoding from UTF-8 to ISO-8859-2 and ISO-8859 but it doesn't work. I also tried this with the default WP template.

    When I write a post I can see all characters correctly but when I publish it it doesn't show correct on page. When I try to edit a post character Č and č (Č and č) are messed up.

    Any ideas or suggestions?

    Thanks!

  2. moshu
    Member
    Posted 7 years ago #

    Did you update via Fantastico? Did you modify the wp-config file during the upgrade?

  3. kosir
    Member
    Posted 7 years ago #

    It's a fresh install done from Fantastico.

  4. moshu
    Member
    Posted 7 years ago #

    Can we have link?

  5. kosir
    Member
    Posted 7 years ago #

    sorry for delay. it's kosir.info

  6. moshu
    Member
    Posted 7 years ago #

    OK, let's try this: if it is a fresh install made with Fantastico - try to download and edit the wp-config.php file.
    Comment out the two lines:

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    Put // in front of both lines:

    //define('DB_CHARSET', 'utf8');
    //define('DB_COLLATE', '');
  7. shrichris
    Member
    Posted 7 years ago #

    Hi.

    I host a 4 wordpress sites on Bluehost for my friends and myself. I recently updgraded all to 2.2 using Fantastico. I didnt modify any files manually during the upgrade.

    The problem is , after the upgrade random  seem to have been inserted in all the posts, in all the sites. Manually removing them does remove them. Also Korean fonts dont seem to display anymore.

    Will be glad for any help. I cant imagine going and manually removing all the  :(

    Thanks in advance

    Sriram

  8. moshu
    Member
    Posted 7 years ago #

    Did you try what I wrote in the post above???

    For further explanation see: http://wordpress.org/support/topic/120029?replies=11#post-567537

  9. purplemotes
    Member
    Posted 7 years ago #

    I had this problem. I deleted the two lines as moshu suggested and now I don't have garbled characters. Mosu, thank you VERY MUCH for this information. You saved me from a lot of grief.

  10. shrichris
    Member
    Posted 7 years ago #

    Hi Moshu

    Many thanks for your mail. Yes, it worked. ( Seems I had to refresh the pages in the browser to see the changes :)

    A reminder for me that I should not be complacent with upgrades and especially Fantastico :)

    Thanks again

    Sriram

  11. kosir
    Member
    Posted 7 years ago #

    moshu you are the greatest!

    Thanks!

  12. Fernán
    Member
    Posted 7 years ago #

    Hello:

    I upgraded with Fantastico and got this messed up. However your solution worked. The only problem is that now I have a warning message on top that was not there before fixing the characters:

    Warning: Invalid argument supplied for foreach() in /<em>blogdirectory</em>/wp-includes/classes.php on line 88

    What can I do? Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags