Problem with french character

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
chill
Beginner
Beginner
Posts: 4
Joined: Fri Sep 26, 2003 8:47 pm

Problem with french character

Post by chill »

EDIT - problem is with é character in example below ... I am actually entering it as & eacute; (put in space because your forum automatically changed it to é).

aI("text=Politique d'intimité;url=../site/index.cfm?fuseaction=Privacy;");

The result of this line includes the URL ... it is messed up because of the french character.

In other examples I have successfully used é ... the problem seems to be that this character falls DIRECTLY BEFORE the semi-colon separating the text from the url.

Any suggestions?

Regards,

Cheryl
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Problem with french character

Post by kevin3442 »

Hi Cheryl,
chill wrote:... I am actually entering it as & eacute; (put in space because your forum automatically changed it to é)....
Can you please reply and either (1) check the "Disable HTML in the post" option (below the text edit area) or (2) place your code inside of "code" tags (manually or by using the code button above the text area). Either option will ignore the html character code that you're using and render it as plain text in your posted message. I'd like to see your aI() definition exactly as it appears in your menu_data.

Also, what browser/os are you seeing the problem in?

Kevin
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try this...

Code: Select all

aI("text=Politique d'intimité;url=../site/index.cfm?fuseaction=Privacy;");
Note the double ;; after the special.

Check "Disable HTML in this post" to get things looking the way you want.
John
chill
Beginner
Beginner
Posts: 4
Joined: Fri Sep 26, 2003 8:47 pm

thanks

Post by chill »

I had already tried that and it didn't work.

However, I made a new copy of the file, and voila...no problem. Hmmm....

thanks for your response.

Cheryl
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Some invisible snuck in there on you!

Works the same way for any special -  ;, etc. (only at the end of a parameter, of course; e.g.    ;url=...).
John
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

hi,

The apostrophe character is also a problem I guess. I you should escape the sign with a leading Backslash: d\'intimité.
The menu system can use the apostrophe as a delimiter.

Actually Umlauts are not a problem. I use umlauts like üöäèà all the times, but without converting it to an html special character.
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

If you can enter umlauts with no problem, then I'd have to believe the menu can understand high-ASCII characters. If that's the case, then an é should work by itself with the use of an &.
John
Post Reply