Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Strange characters showing up in FR posts -- here's a workaround
11/11/15

Posted on 11/11/2015 6:35:44 PM PST by markomalley

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-4041-51 last
To: markomalley

bfl


41 posted on 11/11/2015 8:43:11 PM PST by granite (The heart of the wise inclines to the right, but the heart of the fool to the left - Ecclest 10:2)
[ Post Reply | Private Reply | To 1 | View Replies]

To: markomalley
If I paste Unicode character 2019 into my reply and hit preview, the server sees the UTF-8 encoding e2 80 99 and (mis)translates each byte into a separate HTML entity: ’

If it was working correctly, it would send back something like ’

The POST is being sent as UTF-8, and the result is coming back in UTF-8, so the scripts on the backend are probably just using the wrong charset (iso-8859-1?) to decode the form data.

This may help: http://ahinea.com/en/tech/perl-unicode-struggle.html
42 posted on 11/11/2015 9:18:11 PM PST by bornred
[ Post Reply | Private Reply | To 1 | View Replies]

To: markomalley

I put my response in Notepad, then paste.


43 posted on 11/11/2015 9:21:41 PM PST by Fundamentally Fair (Pictionary at the Rorschach's tonight!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Fundamentally Fair
My posts look fine until I click "review" to check for typos and/or formatting errors. That's when it tends to go bonkers with all the weird characters.
44 posted on 11/11/2015 10:11:59 PM PST by ru4liberty (I wish FR were still "The Premiere *CONSERVATIVE* Site on the Net" :'(.....)
[ Post Reply | Private Reply | To 43 | View Replies]

To: Utilizer

Ping


45 posted on 11/12/2015 12:32:45 AM PST by KevinB (Barack Obama: Our first black, gay, Kenyan, Socialist, Muslim president!)
[ Post Reply | Private Reply | To 32 | View Replies]

To: plain talk
each user would run this program on each article they read (assuming they wish to do so). Yes or No?

Each article he posts.

46 posted on 11/12/2015 1:22:56 AM PST by markomalley (Nothing emboldens the wicked so greatly as the lack of courage on the part of the good -- Leo XIII)
[ Post Reply | Private Reply | To 33 | View Replies]

To: bornred
If I paste Unicode character 2019 into my reply and hit preview, the server sees the UTF-8 encoding e2 80 99 and (mis)translates each byte into a separate HTML entity: ’

I think you may be on to something. Maybe the SQL database is somehow using the wrong charset?

Who knows.

47 posted on 11/12/2015 6:06:34 AM PST by unixfox (Abolish Slavery, Repeal the 16th Amendment)
[ Post Reply | Private Reply | To 42 | View Replies]

To: bornred

Use this for now,

http://dan.hersam.com/tools/smart-quotes.html


48 posted on 11/12/2015 6:08:24 AM PST by Enlightened1
[ Post Reply | Private Reply | To 42 | View Replies]

To: markomalley

OK. Got it now. Thanks!


49 posted on 11/12/2015 6:55:38 AM PST by plain talk
[ Post Reply | Private Reply | To 46 | View Replies]

To: markomalley

Thank you, Mark. Rather than taking the time to learn Greek, I’ll just attempt to remember to use the * for the moment. This all began when an infected link was posted a few weeks ago IIRC It is annoying, but nothing more than inconvenient in attempting to decipher. Too old to learn another language and too little time to spend in doing so.


50 posted on 11/12/2015 7:42:36 AM PST by V K Lee (u TRUMP TRUMP TRUMP to TRIUMPH Follow the lead MAKE AMERICA GREAT)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lazamataz
There is strange, and there is stranger.

Stranger In A Strange Land (Leon Russell And The Shelter People) - (1971)


51 posted on 11/12/2015 9:14:02 AM PST by BlueDragon (Big Tex, on a motorcycle)
[ Post Reply | Private Reply | To 10 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-51 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

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