Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: Company Man

If it were your forum, wouldn’t you have fixed it by now if it was an easy fix and there was no mitigating factor?

There is a factor we’re not privy to. I can accept that.


35 posted on 02/23/2016 1:40:30 PM PST by DoughtyOne (Facing Trump nomination inevitability, folks are now openly trying to help Hillary destroy him.)
[ Post Reply | Private Reply | To 27 | View Replies ]


To: DoughtyOne

I hate to tell you but it is an easy fix. Simple RegEx expression in the validation code when posting replacing the offending characters with acceptable ones and viola. Fixed. It is a UTF8 <-> ANSI issue. Sanitize posts in existing code, and you will not invoke hardly any additional CPU cycle overhead. Nothing else would be affected. A few CPU cycles to find the offending characters and replace them in memory before committing the post to the database.

Example: wouldn’t would become wouldn’t Look at the character in the post you made. copy and paste your original wouldn’t to me, and copy and paste my wouldn’t as well. It is a slanting ‘ Straight ones work fine. “ is another one. Opening and closing quotes mess up. Straight ones (ASCII) work fine.


54 posted on 02/23/2016 2:19:13 PM PST by LesbianThespianGymnasticMidget (God punishes Conservatives by making them argue with fools. Go Trump!)
[ Post Reply | Private Reply | To 35 | View Replies ]

To: DoughtyOne
There is a factor we're not privy to.

64 posted on 02/23/2016 2:31:45 PM PST by Company Man (I say we take off and Trump the entire site from orbit. It's the only way to be sure.)
[ Post Reply | Private Reply | To 35 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson