Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:30
Another topic about special characters...
Poster: tamagotchi
Dated: Friday September 30 2005 - 0:08:30 BST
Hello,
I know there are many other topics about special characters, but I could not find what I'm searching for.
I generate my menu from a database, with french labels including special characters (é, è, î...)
I found the solution for menus and submenus texts (I use server.htmlencode in ASP). It returns me "Man&# 232ge" for "Manège", everything works ok, except for the status.
my code is :
Code:
aI("text=>La Crini&# 232;re;status=Acc&# 233;dez au site du magasin &# 233;questre "La Crini&# 232;re", &# 224; Corsier.;url=content.aspx?id=8");
(I put a space after &# because the forum is transforming it in é, è... !)
in the menu, it shows me as "La Crinière" (perfect), but in the status bar (IE6), I can see "Acc&# 233dez au site...", not "Accédez au site..."
How can I do ?
I know I did another way in an old website which used the menu. The menu showed special characters é, è without putting server.htmlEncode. But I can't find how I did it... maybe a parameter ?
Thank you.
[EDIT - 27.10.2005] Still no answer ???
Poster: Andy
Dated: Friday October 28 2005 - 13:08:11 BST
Hi,
have you tried putting the actual character (not the HTML encoded one) inside the status text.
My guess is that status does not require any special characters and will deliver its content based on operating system locale.
Hope this helps,
Andy
Poster: tamagotchi
Dated: Saturday October 29 2005 - 8:33:53 BST
Seems to work... I had a javascript Error about a quote I had in one of my sub's status text, but I corrected it.
It's great to know that for text property, we have to htmlEncode, not for status.
I should have tried it before.....
Thanks.