[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Converting &, >, <, ", and other odd-ball characte

Subject: RE: Converting &, >, <, ", and other odd-ball characters...
From: "Duffey, Kevin" <KDuffey@xxxxxxxxxxxx>
Date: Fri, 16 Feb 2001 08:49:54 -0800
ascii oddball characters
Hey Mike,

Actually, what I would like to figure out is how to only allow ascii
characters that are NOT used in other programs for special things. We allow
people to copy/paste MS WORD document text into our site. Alot of people
don't know that bullets, " " and so on do NOT show up in HTML. Therefore, we
sometimes get strange problems (such as pages not showing up right, or faxes
going out with escaped characters instead of the actual character) when a
client does this. I would like for a way to either convert those few
characters that do this, or remove them all together from a string being
submitted.

Thanks.


> -----Original Message-----
> From: Mike Brown [mailto:mike@xxxxxxxx]
> Sent: Friday, February 16, 2001 7:50 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Converting &, >, <, ", and other odd-ball
> characters...
> 
> 
> 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:
> 
> http://skew.org/xml/misc/URI-i18n/
> http://skew.org/xml/misc/xml_vs_http/
> 
> 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: 
> webb.net in Denver, Colorado, USA              http://skew.org/xml/
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.