Re: [xsl] About encoding - or something I relate to it ...

Subject: Re: [xsl] About encoding - or something I relate to it ...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 21 Jul 2005 14:42:36 +0100
> Effect 2: I have questionmarks at places where I would expect to find a
> special character

Are they really ? or are they just characters that your system does not
understand and so renders as a ?.

> special character like ' or # or $. 

It's really odd that $ should get trashed as that is ascii.
If both # and $ have really been transformed to two real ??
and you need to convert them back then I'd say that your data is
probably badly damaged and if at all possible I'd try to work backwards
and re-obtain the original non-damaged data. If the characters are still
distince but both showing as ?? then obviously you are in better shape
to repare the damage. (same comments apply to your first point as well)

If you are using XSLT2 draft then you have regexp support , if you are
using xslt1 then you need to fix your files (if they are fixable) with
perl or sed (or xslt2) or some other program with regex support.
(You could use xslt1 string handling but it is not really designed for
that kind of general edit)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread