Unicode Mailto: issue

  • Thread starter Thread starter Roy Trzeciak-Hicks
  • Start date Start date
R

Roy Trzeciak-Hicks

Has anyone seen the following problem and if so how did
they fix the problem ?

If I have a mailto: link in some html code such as

<a href="mailto:roy%40mywebsite%2ecom"> roy

In that the 'dot' and 'at' symbols have been replaced
with the unicode versions. When viewing this link in IE 6
I get a nice translation to (e-mail address removed) in the
status bar at the bottom of the page.

But when you click on the link, in outlook 2000 you get
roy%40mywebsite%2ecom in the to box. This is happening on
some of our clients PCs but is not happening on others,
all should have been setup the same but obviously are not.

This error iis happening to PC's that have been upgraded
to IE6 but not the one's still on I.E 5.01

Have you any clues to help me please


Roy
(Remove SPAM to email back)
 
Roy Trzeciak-Hicks said:
Has anyone seen the following problem and if so how did
they fix the problem ?

If I have a mailto: link in some html code such as

<a href="mailto:roy%40mywebsite%2ecom"> roy

In that the 'dot' and 'at' symbols have been replaced
with the unicode versions.

I think you are confusing Unicode with HTML-entities.

Try replacing the %40 and %2e (should actually be %2E) with @ and .
respectively.
 
-----Original Message-----


I think you are confusing Unicode with HTML-entities.

Try replacing the %40 and %2e (should actually be %2E) with @ and .
respectively.
What I have problems with is called URL Encoding what you
mention with the &# is Character Entity Encoding, both
are valid I do not have an issue with Character Entity
Encoding it is with URL Encoding on a suppliers website
to my client, My client has IE 6 that has the problem
whereas I do not have the problem myself!! and I also
have IE6 but I cant find the difference between my setup
and my clients!!
 
Slightly off topic (as it does not directly answer the OP question, but you
may find the following extract I found useful.

If you have a website with your email address on it, you're leaving yourself
wide open to so-called "opt-in" spam. Many spammers believe that email
addresses on the Web are fair game, and they use harvesting software to
collect them effortlessly. Then they sell them to other spammers, and before
you know it, your email box becomes so clogged with junk email every day
that you can barely find the important messages.

<script language=javascript>
var linktext = "Send email";
var email1 = "name";
var email2 = "domain.com";
document.write("<a href=" + "mail" + "to:" + email1 + "@" + email2 + ">" +
linktext + "</a>")
//-->
</script>

To use this script, copy & paste it into Notepad, where you can personalize
it. Then insert it into your html where you would normally put a mailto
link.

This script will assemble the email elements (name, domain, and the label
for the link) and deliver them to the browser. When you hover your mouse
over it, it looks just like a regular link. But the spam-harvesting spider
sees only raw html, so this is a foolproof way to disguise your links.

Hope this helps.

Martin
 
I think you are confusing Unicode with HTML-entities.
....
My client has IE 6 that has the problem
whereas I do not have the problem myself!!

Ironically you both may be partially right. Those escaped hex values
are ASCII not Unicode but there is an option in the Advanced tab
which could be related to your problem called:
Always send URLs as UTF-8 (requires restart)
(Options, Advanced tab,first entry in Browsing Section)

Check to see if that option is in effect on one machine but not on another.

FWIW I like Martin's JavaScript solution best if he has identified
your reason for coding the mailto link the way that you are.


Good luck

Robert Aldwinckle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top