Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

To: cynwoody

Oh, nifty. How did you do that?


40 posted on 01/07/2016 10:58:16 PM PST by some tech guy (Stop trying to help, Obama)
[ Post Reply | Private Reply | To 38 | View Replies ]


To: some tech guy
Oh, nifty. How did you do that?

Long ago, I wrote a user script to augment the FR posting form. It fixes some formatting deficiencies and adds a UI for injecting commonly needed HTML. Nothing fancy.

When the current bug surfaced, and after waiting for immediate fix which didn't come, I added some code that scans input about to be posted and substitutes HTML entities for any characters outside the 7-bit range. The server lets entities pass. It mangles the corresponding UTF-8, however, which is the current bug.

The result is that I can post arbitrary Unicode and have it display correctly. The downside is, any attempt to quote my posts results in garbage, absent the appropriate client-side assist!

48 posted on 01/07/2016 11:06:22 PM PST by cynwoody
[ Post Reply | Private Reply | To 40 | View Replies ]

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article


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