471,610 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

Special Characters in mailto

Hello Everyone

Is it possible to have special characters in the mailto syntax?

I was able to add the "&" by using %26 but now I am stuck with "#" and the trademark symbol.

Can anyone help me out?

Thanks in advance
Anand Iyer
Sep 25 '07 #1
7 6370
brettl
41
You can use "&#35" for # and "&#169" for "" Just add a ";" to the end of each entity
Sep 25 '07 #2
Death Slaught
1,137 1GB
Hello Everyone

Is it possible to have special characters in the mailto syntax?

I was able to add the "&" by using %26 but now I am stuck with "#" and the trademark symbol.

Can anyone help me out?

Thanks in advance
Anand Iyer
Sup Anand lyer, Welcome to TSDN!

here's a list of character entitys and how to properly use them.


Hope it helps, Death
Sep 25 '07 #3
Thanks guys !!!

But I am still not able to get the characters when I am using Internet Explorer.

The characters are displaying fine in Firefox but not in IE.

Any ideas??

Thanks
Anand Iyer
Sep 27 '07 #4
Death Slaught
1,137 1GB
Thanks guys !!!

But I am still not able to get the characters when I am using Internet Explorer.

The characters are displaying fine in Firefox but not in IE.

Any ideas??

Thanks
Anand Iyer
Np Anand lyer.

So are you using the names or the numbers of the character entities? The names are fairly new so not all browsers support them, so it's recommended you use the numbers. example &#38 is an ampersand &. I think it was somewhere in the tutorial I provided above.

Hope it helps, Death
Sep 27 '07 #5
drhowarddrfine
7,435 Expert 4TB
# is %23. There is none for copyright.

There may be a 'charset' issue with IE but I don't know.
Sep 27 '07 #6
Np Anand lyer.

So are you using the names or the numbers of the character entities? The names are fairly new so not all browsers support them, so it's recommended you use the numbers. example &#38 is an ampersand &. I think it was somewhere in the tutorial I provided above.

Hope it helps, Death
Hi

The problem i am facing is that the mailto syntax does not suppory "&" or "#". Thats causing the problem for me. I got it for "&" as "%26". And am trying to get it for characters like "#" and the trademark symbol. Kindly let me know if you come across any of these.

Thanks
Anand Iyer
Sep 28 '07 #7
# is %23. There is none for copyright.

There may be a 'charset' issue with IE but I don't know.
Hello drhowarddrfine

Thanks a lot for this. Just let me know if you find it for the trademark symbol.

Also do you have any idea about how to handle foreign characters??

Any help would be most welcome.

Thanks
Anand Iyer
Sep 28 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Krishna A.M | last post: by
1 post views Thread by Stan Brown | last post: by
20 posts views Thread by SMG | last post: by
8 posts views Thread by Colin Peters | last post: by
2 posts views Thread by Ozer | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.