• Resolved ati79

    (@ati79)


    I use WP 2.2.2 and have some charset problems.
    I use Serbian language, and the characters č,ć,đ,are replaced with ? .
    The charset is setup to default UTF-8.

    I try to change in header.php to windows-1250 but the problem was not solved.

    Now in the header I put this default template code for the meta, but without result

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

    What should I do to solve this problem? Any help?

    Thanks

Viewing 15 replies - 1 through 15 (of 16 total)
  • 1. You should NOT copy/paste from sources that have different encoding.
    2. Is this a new install or an upgrade? Did it work before?

    Thread Starter ati79

    (@ati79)

    This is a new install.
    I try with different themes but always get this error with characters output.

    Show me where is the blog and show me the post where you typed (not copied!) the Serbian letters and they don’t appear correctly using the default utf-8 charset!

    Thread Starter ati79

    (@ati79)

    OK, let’s try this:
    Open your wp-config.php file and delete these two lines:

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

    See if it works.

    Thread Starter ati79

    (@ati79)

    I delete these 2 lines, but it’s not working.

    Next test:
    Can you type something using the specific Serbian characters in the comments here?
    http://www.transycan.net/blogtest/2005/03/04/font-test/

    Thread Starter ati79

    (@ati79)

    Done.

    And it shows up correctly, so we have to look again into your settings.

    I just commented on your blog with Serbian characters – it is awaiting moderation. Approve the comment and let’s see how it will display.

    Thread Starter ati79

    (@ati79)

    Done.

    And it’s shows correctly !?
    I don’t understand why I have problems!

    Now I am just guessing…
    Did you try a different browser? Maybe your browser is set to “enforce” a different character set (encoding), instead of “reading” the one of the site? Is it set to a certain default language with different default encoding?

    Can you try different browsers and, eventually, different machines?
    To check this – you can email me the blog’s login info and let me try whether it works from here or not.
    my name here AT my domain from the test

    Also, try to make a new posts with the problematic characters.

    Thread Starter ati79

    (@ati79)

    I send you a mail.

    Do what I said above: make a new test post!

    Thread Starter ati79

    (@ati79)

    I made a new post. Now it’s shown correctly !

    Evo je!

    Knowing that you tried changing the character set… my suspicion is that you saved that post while the encoding was set to something different than utf-8, and when switching back to utf-8… it got screwed up.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Charset problem for Serbian language’ is closed to new replies.