[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: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Fri, 4 Mar 2005 13:29:17 +0100
gabriel rodgers
----- Original Message ----- From: "Kevin Rodgers" <kevin.rodgers@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 03, 2005 10:54 PM
Subject: Re: escaping/entities on the fly?


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?

Yes it does. Are you saying this is correct, that it should be this way?


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:

The message is delivered with the subject : "kabelskccccep". So this seems to work. :)


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

Yes it has: Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original

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?

it generates this:
<a href="mailto:support@xxxxxxxxxx?subject= Mirakel Webbserver: Kabelsk%C3%A5p KS0100">



So my problem is that "e" is transformed to "%C3%A5" by the the XSL processor and that does not display correctly in the mail client.
Instead it shows: "KabelskC%p", and the message source says: "Kabelsk=C3=A5p".



/Gabriel


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.