RE: [ACFUG Discuss] Re: [ACFUG Discuss] RE: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] WT Heck is this character? ?

2009-12-10 Thread Shane Heasley
As Dean mentioned - use a whitelist.  Only allow those characters in that
are in your whitelist and exclude all others.  Perhaps REReplace?
 
Cheers,
 
Shane Heasley

  _  


So, I have to find a way to get it out of the incoming data feed. Have tried
doing s/r before with no luck. But will try again.



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



[ACFUG Discuss] RE: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] WT Heck is this character? �

2009-12-10 Thread Troy Jones
I see this character sneak into code when I open something in Eclipse that was 
originally edited using some other editor or the file was originally created on 
a Mac.

[cid:image001.jpg@01CA7979.940C53C0]
___

Troy Jones  |  Director of Technical Services  |  Dynapp Inc  |  1-800-830-5192 
 ext. 603  |  dynapp.com  |  
facebook.com/dynapp

From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jason Vanhoy
Sent: Thursday, December 10, 2009 7:52 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG 
Discuss] WT Heck is this character? �

It's this:
http://www.fileformat.info/info/unicode/char/fffd/index.htm

Hex value is FFFD





On Wed, Dec 9, 2009 at 10:25 PM, Derrick Peavy 
mailto:derr...@derrickpeavy.com>> wrote:
Yes and yes.

But let me refine the question - WHAT IS THE CHARACTER??? I cannot find a way 
to trap it and I don't know the ASCII or other chr()


_
Derrick Peavy
derr...@derrickpeavy.com
404-786-5036

“Innovation distinguishes between a leader and a follower.” -Steve Jobs
_


On Dec 9, 2009, at 10:20 PM, Dean H. Saxe wrote:


"trap"?

Do you mean prevent it from getting in your app?  Use a whitelist.

-dhs

--
Dean H. Saxe
"A true conservationist is a person who knows that the world is not given by 
his fathers, but borrowed from his children."  -- John James Audubon



On Dec 9, 2009, at 7:09 PM, Derrick Peavy wrote:


Can you see this character?

It's a diamond with a question mark

�

How in the hell does one trap that?

_
Derrick Peavy
derr...@derrickpeavy.com
404-786-5036

“Innovation distinguishes between a leader and a follower.” -Steve Jobs
_





<>