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

To: some tech guy
Something in the software is not understanding UTF-8.

The server is mangling UTF-8 sequences for chars outside the 7-bit ASCII range. These consist of multiple bytes in the 80-FF range. The server looks at each byte of the multi-byte UTF-8 sequence and substitutes an HTML entity. The browser then renders the result as several characters of garbage instead of the character intended.

E.g., E2 80 9C is UTF-8 for the left curly double quote. The server substitutes an entity for circumflex lower case a for the E2, the euro sign for 80, and the trademark symbol for 9C.

43 posted on 01/07/2016 11:00:08 PM PST by cynwoody
[ Post Reply | Private Reply | To 37 | View Replies ]


To: cynwoody

We went through this before, remember? I remember you when we did this about a month ago.

And you’re completely right.


45 posted on 01/07/2016 11:02:09 PM PST by some tech guy (Stop trying to help, Obama)
[ Post Reply | Private Reply | To 43 | View Replies ]

To: cynwoody

I’ve noticed something.

Right now, I’m posting without preview, and I see that *something* has replaced my standard quotes with smart quotes ... and those worked. They’re curly. My Cantonese Profanity post.

It’s another data point, anyway.


46 posted on 01/07/2016 11:05:34 PM PST by some tech guy (Stop trying to help, Obama)
[ Post Reply | Private Reply | To 43 | View Replies ]

To: cynwoody
The server is mangling UTF-8 sequences for chars outside the 7-bit ASCII range. These consist of multiple bytes in the 80-FF range. The server looks at each byte of the multi-byte UTF-8 sequence and substitutes an HTML entity. The browser then renders the result as several characters of garbage instead of the character intended. E.g., E2 80 9C is UTF-8 for the left curly double quote. The server substitutes an entity for circumflex lower case a for the E2, the euro sign for 80, and the trademark symbol for 9C.

I am glad you are here.

88 posted on 01/08/2016 1:16:43 PM PST by daniel1212 ( Turn to the Lord Jesus as a damned and destitute sinner+ trust Him to save you, then follow Him!)
[ Post Reply | Private Reply | To 43 | 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