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

Subject: Re: [xsl] escaping/entities on the fly?
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Thu, 3 Mar 2005 13:30:17 -0700 (MST)
Gabriel K. writes:
> Yeah in the e-mail adress yes, but this is actually in the subject line, 
> like so:
> href= mailto:adress@xxxxxxxxxx?subject=kabelskccccep
> But of course the same restriction applies to everything in the href 
> attribute.
> I'm using outlook express. So it seems what I need is to convert to HTML 
> entities instead of %HH, since outlook can't display those characters 
> correctly.

Nor should it.  The rules for escaping non-ASCII characters in mail
headers are explained in RFC 2047:

For example:

Subject: =?ISO-8859-1?Q?kabelskcccc=E5p?=

Which you would then URI-escape, yielding:


> But this is not possible in XSLT 1.0 so I'm screwed I guess. :)

Unless someone has implemented an ietf:rfc-2047-encode() stylesheet


Current Thread