WP 2.6 doesn't show page title with Unicode characters properly (1 post)

  1. Guntis
    Posted 7 years ago #

    When I set my page title to "Limbaži", I get Limbazi in the page title. In database it's written properly, but why doesn't it show that way in the page title? It also shows with Latin-only letters in the WP Admin dashboard title.

    This is bloginfo('name') tag in the header.php template. I use Falling Dreams template, and here's the code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    function header_graphic() {
    echo "/images/";
    echo "dream".$num.".jpg";
    <!-- The header image is aleatory change. You can show how many images you want (798 x 265 pixels), but you can must name them like this: dream0.jpg ; dream1.jpg, dream3.jpg; and so on, and make the appropriate modification in the header_graphic function above.
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <title>Adventistu Limbažu draudze
    <?php //---- bloginfo('name'); ----// ?>
    <?php wp_title(); ?>

    As you can see there is charset information before that, and it is set to Unicode. It means that it is connverted to Latin-only characters somewhere before. Can you remove this conversion?

Topic Closed

This topic has been closed to new replies.

About this Topic