Tags and different character sets
Tags and different character sets
Hi,
I have had a look through the various threads and cannot pick out this issue - so I hope it is new.
I have started to set up a site in English and Chinese and most things are working fine.
{title} and {cms_selflink ....} seem to raise a problem.
Title is working fine in the Menu but the squares appear in the top line of the browser window for Internet Explorer, though it is fine for Safari.
Ideally I'd want a mult-language Site Name too I guess...
The field with the label "Description (title attribute):" in the standard Tiny editor seems to need the English character set. If I put in Chinese characters then the squares appear when you hover over links to the page in the menu or selflinks.
I applied the queries to achieve the "extended" version of MLE.
Have I missed something obvious?
A.
I have had a look through the various threads and cannot pick out this issue - so I hope it is new.
I have started to set up a site in English and Chinese and most things are working fine.
{title} and {cms_selflink ....} seem to raise a problem.
Title is working fine in the Menu but the squares appear in the top line of the browser window for Internet Explorer, though it is fine for Safari.
Ideally I'd want a mult-language Site Name too I guess...
The field with the label "Description (title attribute):" in the standard Tiny editor seems to need the English character set. If I put in Chinese characters then the squares appear when you hover over links to the page in the menu or selflinks.
I applied the queries to achieve the "extended" version of MLE.
Have I missed something obvious?
A.
Re: Tags and different character sets
what charset is passed thought meta tags?
something like:
<meta http-equiv="Content-Type" ....
something like:
<meta http-equiv="Content-Type" ....
Re: Tags and different character sets
What is "Menu"? MenuManager?andym wrote: I have started to set up a site in English and Chinese and most things are working fine.
{title} and {cms_selflink ....} seem to raise a problem.
Title is working fine in the Menu but the squares appear in the top line of the browser window for Internet Explorer, though it is fine for Safari.
Site Name is {sitename}?andym wrote: Ideally I'd want a mult-language Site Name too I guess...
Add in mle/lang/en_US.php and xx_XX.php the relative string site name (view tips #7)
Look in html source and check which chars offending tag sintaxandym wrote: The field with the label "Description (title attribute):" in the standard Tiny editor seems to need the English character set. If I put in Chinese characters then the squares appear when you hover over links to the page in the menu or selflinks.
Alby
Re: Tags and different character sets
The character set is not Chinese in the Meta Data
As I said - the {title} in the top line of the browser window is actually fine in Safari, but the description on hover is NOT.
Curiously, in Firefox, the Description on hover is fine for the menu and for selflink but NOT for the {title}.
Site Name is {sitename} - Yes - Add in mle/lang/en_US.php and xx_XX.php the relative string site name - Understood, thanks.
Menu Manager is not an issue. The menu is displayed perfectly.
The problem with the menu (probably the same as for the cms_selflink) is the "description" when you hover with the mouse over the link. The character set is obviously not Chinese.
Thanks for the rapid responses both.
A.
As I said - the {title} in the top line of the browser window is actually fine in Safari, but the description on hover is NOT.
Curiously, in Firefox, the Description on hover is fine for the menu and for selflink but NOT for the {title}.
Site Name is {sitename} - Yes - Add in mle/lang/en_US.php and xx_XX.php the relative string site name - Understood, thanks.
Menu Manager is not an issue. The menu is displayed perfectly.
The problem with the menu (probably the same as for the cms_selflink) is the "description" when you hover with the mouse over the link. The character set is obviously not Chinese.
Thanks for the rapid responses both.
A.
Re: Tags and different character sets
Update:
Certainly partly a browser issue:
IE:
Does not display Chinese characters in link description or page title
Safari:
Does not display Chinese characters in link description but does display them in page title
Fire Fox, Netscape, Opera:
Displays Chinese characters in link description but not in page title
A.
Certainly partly a browser issue:
IE:
Does not display Chinese characters in link description or page title
Safari:
Does not display Chinese characters in link description but does display them in page title
Fire Fox, Netscape, Opera:
Displays Chinese characters in link description but not in page title
A.
Re: Tags and different character sets
Try to force utf-8 character set in browserandym wrote: Update:
Certainly partly a browser issue:
Alby
Re: Tags and different character sets
Not sure I know how to force the issue.
The page already contains:
Did you mean to use some other method?
A.
The page already contains:
Did you mean to use some other method?
A.
Re: Tags and different character sets
Check for example if you see with another encoding.andym wrote: Not sure I know how to force the issue.
In FF: View > Character encoding
Alby
Re: Tags and different character sets
Hi Alby,
Got it - thanks.
BTW: The problem I am talking about is shown on this forum. If you are using IE and hover over the Ru.png Flag (Last one on the right) you can see the problems with character set first hand.
A.
Got it - thanks.
BTW: The problem I am talking about is shown on this forum. If you are using IE and hover over the Ru.png Flag (Last one on the right) you can see the problems with character set first hand.
A.
Last edited by andym on Mon Sep 15, 2008 8:03 pm, edited 1 time in total.
Re: Tags and different character sets
IE6 and FF 3.0.1 look same:andym wrote: BTW: The problem I am talking about is shown on this forum. If you are using IE and hover over the Ru.png Flag (Last one on the right) you can see the problems with character set first hand.
Code: Select all
alt="CMSMS - руÑ
Re: Tags and different character sets
Hi Alby,
You are right.
But my page already contains:
And if I force the encoding it makes no difference.
If you are interested the pages are really simple on multilanguage.satnav2go.co.uk
I wonder if it is the entry in the config_lang.php file
'locale'=>'zh_CN.utf8@euro' Maybe it needs to be uft-8 not utf8@euro or something like that?
A.
You are right.
But my page already contains:
And if I force the encoding it makes no difference.
If you are interested the pages are really simple on multilanguage.satnav2go.co.uk
I wonder if it is the entry in the config_lang.php file
'locale'=>'zh_CN.utf8@euro' Maybe it needs to be uft-8 not utf8@euro or something like that?
A.