Posted on 10/29/2015 2:54:15 PM PDT by Cletus.D.Yokel
Seems like cut&paste in the OP is carrying ASCII rather than HTML.
HTML is a formatting language.
ASCII (actually, UTF-8) is a character set.
It looks like the problem is cut/paste of Unicode to ASCII, or vice versa.
But, I’m going to wait for John to figure it out.
So, ya gotta let ‘em know.
Hi John, Jim, thought you might be interested.
What I do, if I see the problem in preview, is to replace the bad quote marks with normal ones.
Yes, we know. It’s an old ms word smart character or “curly quotes” problem that’s plagued us before. Don’t know why it’s popping up again. I’ve tackled this previously myself on other projects and it’s difficult to solve. Hoping John gets it sorted out soon.
It happened to us. Turned out that when we updated the jdbc driver for the database, they changed the default translation for Word high order characters. Turns out there was a new flag we had to set in the context uri.
What he said.
Explanation bttt
Right. That’s as clear as mud. But, I believe you. :-)
Why would people cut and paste from word?
It’s not necessarily Word. It’s the higher order character set. My hunch is that the database is fine with it, but the pipeline (jdbc driver) back to the display page (jsp) is corrupting the transfer by interpreting the high order bits as the additional characters.
I did notice when the articles began showing the scrambled characters in the threads, the goofy characters no longer appeared on the news article listing page as they used to. It’s like one issue got fixed, but caused the problem in a different place. Further, I’m just guessing this is similar to an issue my team ran into awhile back.
Ah, the heatbreak of programming ...
- My program doesn’t work, and I don’t know why ...
- My program works, and I don’t know why. :o}
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.