[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: escaping/entities on the fly?

Subject: Re: escaping/entities on the fly?
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Thu, 3 Mar 2005 14:54:50 -0700
kevin rodgers
Gabriel K. writes:
> That solution did not work for me, but maybe it's just outlook express
> that doesn't do what the rfs wants it to?

That is too vague, especially given all the variables.

1. If you click on the link in the mail message, does your mail
   composition agent put "=?ISO-8859-1?Q?kabelskcccc=E5p?=" in the
   subject line?

2. If you change the address to your own and send it, is the message
   delivered with the subject intact?  Has your mail user agent added
   the appropriate MIME headers:

	MIME-Version: 1.0
	Content-Type: text/plain

3. How does your MUA display the subject?

> My link is created like this:
>
> <a>
>     <xsl:attribute name="href">
>         mailto:<xsl:value-of select="$_settings/supportMail"/>?subject=
>         <xsl:value-of select="$_shared/serviceName"/>: <xsl:value-of
> select="$_fullName"/>&#32;<xsl:value-of select="mir:KNP"/>
>
>     </xsl:attribute>
> <xsl:value-of select="$_shared/mailLink/responsible"/>
> </a>
>
> the output of <xsl:value-of select="$_fullName"/> can be "kabelskep" for
> instance.
> So how do you suggest I modify the code?

What does the above XSLT generate?

> I tested to change the encoding in outlook, so that it reads the mail as
> UTF-8, and then it displays the character correctly ("kabelskep").
> However, most e-mail clients will be set to use ISO-8859-1, that's the
> problem.

It won't matter, as long as you send a properly-encoded Subject header.
If the encoding name (whether ISO-8859-1 or UTF-8) matches the =XX
quoted-printable byte sequence you've generated, the MUA should decode
it correctly.

--
Kevin Rodgers

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.