Hi,
How do i add a hyperlink to a email id having special characters?
I tried the same , say mailto: te*********@hoo hoo.com
IN the to box i can see only till test_ and the rest is omitted.
Any ideas how the tags could be bypassed?
Though i am not a web page designer, I tried & but with no luck.
Any help would be highly appreciated.
Best Regards
Krishna 4 37691
Krishna A.M <news:be******* ***@news1.wdf.s ap-ag.de>: How do i add a hyperlink to a email id having special characters? I tried the same , say mailto: te*********@hoo hoo.com IN the to box i can see only till test_ and the rest is omitted.
Didn't realize the '&' could be used for an email username...I
would avoid it even when it is useable. Anyhow, if replacing with
& doesn't work I suggest using a server-side powered form. That
way you don't have to depend on the client being configured to
handle a mailto:
--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/
In article <Xn************ ***********@24. 48.107.53>, ro****@excite.c om says... Krishna A.M <news:be******* ***@news1.wdf.s ap-ag.de>:
How do i add a hyperlink to a email id having special characters? I tried the same , say mailto: te*********@hoo hoo.com IN the to box i can see only till test_ and the rest is omitted.
Didn't realize the '&' could be used for an email username...I would avoid it even when it is useable. Anyhow, if replacing with & doesn't work I suggest using a server-side powered form. That way you don't have to depend on the client being configured to handle a mailto:
& won't freaking work because it has ANOTHER & in it...DUH...
Use %36 type encoding instead.
Mr. Clean wrote: & won't freaking work because it has ANOTHER & in it...DUH...
Use %36 type encoding instead.
Actually, & doesn't work because it's encoding the character at the
wrong layer of the different languages and protocols involved here.
This can get a bit confusing, but basically...
In URIs (the term URL is being deprecated in the newest Internet draft
on the subject in favor of URI), the ampersand is a reserved character,
used to separate parameters. (For instance, in a "mailto" URI, if you
have multiple parameters such as "subject" and "body", they're separated
by ampersands.) When you need an ampersand in a URI in any other
context, you're supposed to encode it as %26 (not %36, which is the
digit "6"). This "percent-sign" encoding is the standard method of
encoding characters in URIs to prevent them from being interpreted in
their reserved meanings.
In HTML, there are also some reserved characters which must be encoded
when used in other contexts, and one of them is the ampersand. The way
to encode it is as &. You would do this, for instance, with any
ampersand within a URI which is being used in its URI-reserved meaning
(to separate parameters), and hence is not encoded as %26.
Here's a sample piece of HTML that uses both encoding forms properly:
<A HREF="mailto:th *********@examp le.net?subject= this&body=t hat">
Not that I recommend using "subject" and "body" parameters in "mailto"
URIs, due to browser and mail client support problems, but the standards
do allow it.
--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
Hello Daniel,
One more friend of me suggested to use a java sctipt HTMLEncode to input the
email id.
But your suggestion to use %26 works !!!
This is much more simpler and eazy for me.
I got the following information as well from http://www.douggreenconsulting.com/articles/htmlamp.asp for various reserved
characters.
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
1 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
2 SP ! " # $ % & ' ( ) * + , - . /
3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4 @ A B C D E F G H I J K L M N O
5 P Q R S T U V W X Y Z [ \ ] ^ _
6 ` a b c d e f g h i j k l m n o
7 p q r s t u v w x y z { | } ~ DEL
Thanks again for all your comments.
Best Regards
Krishna
PS: I am using IE 5.5/6.0 and mail client as Outlook 2K/XP
"Daniel R. Tobias" <da*@tobias.nam e> wrote in message
news:dK******** **********@news 2.news.adelphia .net... Mr. Clean wrote:
& won't freaking work because it has ANOTHER & in it...DUH...
Use %36 type encoding instead.
Actually, & doesn't work because it's encoding the character at the wrong layer of the different languages and protocols involved here.
This can get a bit confusing, but basically...
In URIs (the term URL is being deprecated in the newest Internet draft on the subject in favor of URI), the ampersand is a reserved character, used to separate parameters. (For instance, in a "mailto" URI, if you have multiple parameters such as "subject" and "body", they're separated by ampersands.) When you need an ampersand in a URI in any other context, you're supposed to encode it as %26 (not %36, which is the digit "6"). This "percent-sign" encoding is the standard method of encoding characters in URIs to prevent them from being interpreted in their reserved meanings.
In HTML, there are also some reserved characters which must be encoded when used in other contexts, and one of them is the ampersand. The way to encode it is as &. You would do this, for instance, with any ampersand within a URI which is being used in its URI-reserved meaning (to separate parameters), and hence is not encoded as %26.
Here's a sample piece of HTML that uses both encoding forms properly:
<A HREF="mailto:th *********@examp le.net?subject= this&body=t hat">
Not that I recommend using "subject" and "body" parameters in "mailto" URIs, due to browser and mail client support problems, but the standards do allow it.
-- == Dan == Dan's Mail Format Site: http://mailformat.dan.info/ Dan's Web Tips: http://webtips.dan.info/ Dan's Domain Site: http://domains.dan.info/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bal |
last post by:
Hi,
I am trying to generate a pdf using a XML file and rendering the page
through XSL Stylesheet to a PDF. But the page has some special
characters, as its for a chequ website.
My Code below is
<--xsl:page-->
<?xml version="1.0" encoding="UTF-8"?>
|
by: Ozer |
last post by:
Hi friends,
I wanna ask something. I use javascript menu on my user interface. And the
js files contains special(turkish) character. I need to use codepage=1254
attribute in my @Page tag. If i don't use it. Javascript menu and functions
fail. But if i add this atrribute, after i posted the form, all of the
special(turkish) characters becomes deleted. Thanks for any help. Bye.
|
by: Sakharam Phapale |
last post by:
Hi All,
I am using an API function, which takes file path as an input.
When file path contains special characters (@,#,$,%,&,^, etc), API function
gives an error as "Unable to open input file".
Same file path containing special characters works fine in one machine, but
doesn't work in other.
I am using following API function to get short file path.
Declare Auto Function GetShortPathName Lib "kernel32" (ByVal lpszLongPath As
|
by: sonald |
last post by:
Dear All,
I am working on a module that validates the provided CSV data in a text
format, which must be in a predefined format.
We check for the :
1. Number of fields provided in the text file,
2. Text checks for max. length of the field & whether the field is
mandatory or optional
Example:
|
by: Aray |
last post by:
<!ENTITY % testEntity "(test)">
<!ELEMENT testElement %testEntity;>
Above is a valid DTD file. But it doesn't work when I try to put a charater
'/' in to the Content of testEntity. like following
<!ENTITY % testEntity "(test/test)">
<!ELEMENT testElement %testEntity;>
I am newbie to xml, Could you please tell me how to make it works?
| |
by: thisisazam |
last post by:
Hi
I am picking records from xml file and saving them into mysql database. I am When I insert records, the special characters like ö,å,ä are being transformed into some unwanted values.
I tried to insert those values manualy by giving
insert into table_name...... this command on command line.
It works fine and store even special characters as well.
But when I Pick the record from xml and insert them into mysql it does not insert ö,ä,å...
|
by: Ragavendran |
last post by:
Hi,
I am using this method for search:
Query =org.apache.lucene.queryParser.QueryParser.parse(String arg0) throws ParseException
Hits = org.apache.lucene.search.Searcher.search(Query query, Sort sort) throws IOException
Problem :
I cant able to search the word. If the word contain special character like , %BF It just taken that special character a empty space and search the remaining character
|
by: bdparnes |
last post by:
I have a project where it is necessary to copy rows (and change a few pieces of information); however some of the rows may contain special characters such as an apostrophie or quotes. I am using the INSERT INTO ... SELECT statement to accomplish the copy fairly quickly... however for those rows with special characters, I get a Syntax error. Is there an easy way around this, or do I need to abandon the INSERT INTO ... SELECT shortcut?
ie:...
|
by: vekipeki |
last post by:
I am having a problem with basic drawing of unicode characters in Windows 2000 and XP.
I have written a simplest possible C# WinForms program to test it (just create a new Windows Forms C# application and add a Paint event handler):
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |