Re: [xsl] Converting &, >, <, ", and other odd-ball characters...

Subject: Re: [xsl] Converting &, >, <, ", and other odd-ball characters...
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 16 Feb 2001 08:49:59 -0700 (MST)
Kevin Duffey wrote:
> Interesting dilema. For the most part, we are a b2b site that deals with
> specific clients. Very unlikely this will occur, as far as the non-ascii
> characters. I guess you could just "omit" them? I am not sure how it would
> be handled. How do you make a web-based solution work with these characters?

This isn't really the forum for this, so I'll just point you to 2 articles
I wrote recently:

The answer is, basically, you don't make it work. I've seen message board
forms that collect language info (user-entered, or obtained from HTTP
Accept-Language headers) and make an educated guess about the encoding
based on that, but it's always just a guess. IE4/5 is fairly predictable
and even makes the actual encoding available, if scripting is turned on,
so if you're targeting those browsers, you have more control. As for
omitting non-ASCII characters, sure, you could do that. *cringe* :)

   - Mike
Mike J. Brown, software engineer at            My XML/XSL resources: in Denver, Colorado, USA    

 XSL-List info and archive:

Current Thread