Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet explorer Special Characters è 1

Status
Not open for further replies.

akutty

IS-IT--Management
Jul 7, 2004
31
GB
Hi,

One of our URLS contains è french character (ModèlesDocumentations
). It displays page error when we use this character using Internet explorer.Changing this to e it works.
Any idea why it doesnt take è. Thanks for any help
Anil
 

RFC1738 said:
URLs are written only with the graphic printable characters of the US-ASCII coded character set. The octets 80-FF hexadecimal are not used in US-ASCII, and the octets 00-1F and 7F hexadecimal represent control characters; these must be encoded.

That's just one of many quotes from RFC1738 which basically, in a nutshell, say that you should not use characters in URLs without escaping them if they are outside of the ASCII 32-127 range.

I do believe that there is work underway (by the W3C) to allow for accented characters in domain names (and thus URIs)... But I'm unsure as to what is happening with this (and it's outside the scope of this forum, too).

Hope this helps,
Dan
 
hmm...try è

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
&egrave is what you'd use in the text of an HTML page, for a URL you should try something like:

Mod%E8lesDocumentations

Where the two characters after the % are the hex code for the character you want. There's a table of all the characters halfway down .

Frankly, though, I think you'll spare yourself a lot of heartache (and brain ache) if you avoid accents in URLs altogether. How about calling it "moddocs" instead?

-- Chris Hunt
 
Thanks for the posts. I tried using Mod%E8lesDocumentations still doesnt work. Since it is a french site they want this special character as well
 
how do u generate the url? maybe there itself u code encode it to query string format...

Known is handfull, Unknown is worldfull
 
Thanks chris!
I missed the bit where akutty mentioned URLs....was simply thinking of accents in html.

(thinks - must read the question)

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top