View Full Version : Display Special Characters
Tim Kirsten
05-03-2009, 02:33 PM
I can't get the menu to display special characters (Spanish like: ñ,Ñ,é...) - Result example attached (It should be José Quiñones).
All pages where the menu is used are set to:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
In the content of all pages the characters are displayed correctly. When editing the menu content everything looks fine, even in the menu.php created by the Menu Writer they display the way they should.
Are there any other settings?
TNX
Ray Borduin
05-05-2009, 02:55 PM
Do you have a url where I can view the page with the issue. I will look at it and see if I can spot the problem.
Tim Kirsten
05-07-2009, 10:13 PM
A sample of pages with the issue can be found under:
http://www.limaeasy.com
If you have a look at the main navigation on the left, go to Peru Info / Peruvian Personalities / José Quiñones (the 4th one...). If you actually open that particular page, you can see right in the header that the "é" and "ñ" are displayed corectly in the text.
Appreciate your comments!
Ray Borduin
05-11-2009, 07:22 AM
It already looks wrong when I view:
http://www.limaeasy.com/CSSMenuWriter/cssmw/menu.php
Is this database driven or typed in by hand? When you view the menu page in notepad it looks correct?
Tim Kirsten
05-11-2009, 06:35 PM
Hello Ray:
The menu points are typed in by hand via the "edit menu structure". After you mentioned that the menu.php looks wrong I opened it up again and on the Design View it looks fine on my side. Checked the Code View and figuered out that the "é" and "ñ" are there in plain text. I replaced them now with é for the é and ñ for the ñ. Now it works fine
That's how the code looked like genereted by the MenuWriter:
<li><a href="<?php echo($assumedRoot); ?>peruvian_personalities/biography_jose_abelardo_quinones.php">José Quiñones</a></li>
This is the modification I made:
<li><a href="<?php echo($assumedRoot); ?>peruvian_personalities/biography_jose_abelardo_quinones.php">José Quiñones</a></li>
I still don't understand why MenuWriter doesn't generate the output correctly. I'm happy to use the workaround by editing the menu.php but everytime I make a change via MenuWriter it overwrites everything and I have to do it again. Perhaps it is somehow related to the fact, that I'm using a spanish interface (windows, dreamweaver, keyboard...).
Anyway, thanks for the hint with the menu.php!
Ray Borduin
05-12-2009, 08:10 AM
I will look into this further. Thanks for the report back.
virtualbr
10-15-2009, 05:24 PM
Hello, i am trying to put some ç ã ó characters in the menu, but its not working.
What is the eficient way of doing this?
I tried changing thetreexml.xml file, but that didnt work.
Any help much apreciated.
Ray Borduin
10-16-2009, 07:14 AM
Do you have a sample url? I'm not sure what you mean by thetreexml.xml file. Is this a webassist extension or something else you are using? A link demonstrating the problem will help me investigate.
virtualbr
10-17-2009, 09:28 AM
Hey! Hello!
Yes I do:
http://virtualmediadesign.com.br/aplace/
Check out the menu on this page, ther ç and ó characteres get messed up.
Before, i posted wrong the file name, its "treexml.xml" file.
Any idéias?
Thank you very much.
Ray Borduin
10-19-2009, 07:44 AM
You can try manually updating the characters on the page:
http://virtualmediadesign.com.br/aplace/CSSMenuWriter/cssmw0/menu.php
If that doesn't work you might try updating your charset:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Commonly used character encodings on the Web include ISO-8859-1 (also referred to as "Latin-1"; usable for most Western European languages), ISO-8859-5 (which supports Cyrillic), SHIFT_JIS (a Japanese encoding), EUC-JP (another Japanese encoding), and UTF-8 (an encoding of ISO 10646 using a different number of bytes for different characters). Names for character encodings are case-insensitive, so that for example "SHIFT_JIS", "Shift_JIS", and "shift_jis" are equivalent.
virtualbr
10-22-2009, 05:08 PM
sorry for late reply, your suggestion worked!
thank you so very much.
I am still new to WA, still learning.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.