WP 2.6 doesn’t show page title with Unicode characters properly
-
Hi,
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” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<?php
function header_graphic() {
echo “/images/”;
$num=rand(0,20);
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=”https://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(); ?>
</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?
- The topic ‘WP 2.6 doesn’t show page title with Unicode characters properly’ is closed to new replies.