Re: [xsl] escaping/entities on the fly?

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

    <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:value-of select="$_shared/mailLink/responsible"/>

the output of <xsl:value-of select="$_fullName"/> can be "kabelskep" for
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".


Current Thread