Pop-out topic windows

Check here for updates to the forum and site.
Forum rules
Please do not use this forum to advertise, sell photos or other products or promote a commercial website. For more details, please see the Terms of Use you agreed to when joining the forum.
User avatar
d_baker
Posts: 2751
Joined: 11/18/2007
14ers: 58 15
13ers: 279 9
Trip Reports (57)

Pop-out topic windows

Post by d_baker » Wed Oct 28, 2020 7:37 pm

When I hover over a topic and the pop-out window thing displays last post, I'm seeing weird characters. Anyone else?


pop-out window with weird characters.png
pop-out window with weird characters.png (200.08 KiB) Viewed 1882 times
User avatar
cottonmountaineering
Posts: 684
Joined: 5/11/2018
14ers: 58 7 18
13ers: 169 33 28

Re: Pop-out topic windows

Post by cottonmountaineering » Wed Oct 28, 2020 7:45 pm

same for me, only that thread though, maybe a formatting issue?
User avatar
d_baker
Posts: 2751
Joined: 11/18/2007
14ers: 58 15
13ers: 279 9
Trip Reports (57)

Re: Pop-out topic windows

Post by d_baker » Wed Oct 28, 2020 7:48 pm

I've seen it several times. Here's another example....



more weird characters and not talkin about CaptCO.png
more weird characters and not talkin about CaptCO.png (184.53 KiB) Viewed 1851 times
User avatar
cottonmountaineering
Posts: 684
Joined: 5/11/2018
14ers: 58 7 18
13ers: 169 33 28

Re: Pop-out topic windows

Post by cottonmountaineering » Wed Oct 28, 2020 7:49 pm

looks like quotations are what cause the issue, nbd
User avatar
HikerGuy
Posts: 979
Joined: 5/25/2006
14ers: 58
13ers: 218 8
Trip Reports (6)

Re: Pop-out topic windows

Post by HikerGuy » Wed Oct 28, 2020 7:50 pm

are "quotation marks the problem"?
User avatar
supranihilest
Posts: 360
Joined: 6/29/2015
14ers: 58 28
13ers: 415 10
Trip Reports (92)
Contact:

Re: Pop-out topic windows

Post by supranihilest » Wed Oct 28, 2020 7:52 pm

Probably double or single quotes or slashes causing the issues, since those characters are frequently used to delimit fields in the computing world. For example, the first picture says 22(gibberish) and it's supposed to be 22". You'll also notice this if you use double quotes in the "Route" field on a conditions report too - it will post properly but then if you edit it the "quoted text" is replaced by slashes. For these mouseover bubbles it's just a display issue.
User avatar
cottonmountaineering
Posts: 684
Joined: 5/11/2018
14ers: 58 7 18
13ers: 169 33 28

Re: Pop-out topic windows

Post by cottonmountaineering » Wed Oct 28, 2020 7:53 pm

“quotations like dis“
User avatar
justiner
Posts: 3499
Joined: 8/28/2010
14ers: 58 4
13ers: 138
Trip Reports (28)
Contact:

Re: Pop-out topic windows

Post by justiner » Wed Oct 28, 2020 8:00 pm

My bet is on either double decoding of a unicode character (those smart quotes) before printing it out, or not decoding it at all.
User avatar
justiner
Posts: 3499
Joined: 8/28/2010
14ers: 58 4
13ers: 138
Trip Reports (28)
Contact:

Re: Pop-out topic windows

Post by justiner » Wed Oct 28, 2020 8:05 pm

Hmm, the front page sets the encoding to windows-1252, but the actual data is UTF-8. That could be it. The forum sets the encoding in the HTML and is served both as UTF-8.
User avatar
BillMiddlebrook
Site Administrator
Posts: 6284
Joined: 7/26/2004
14ers: 58 46 22
13ers: 167 55 45
Trip Reports (7)
Contact:

Re: Pop-out topic windows

Post by BillMiddlebrook » Thu Oct 29, 2020 5:38 am

You're right, it's the character encoding.

For a long time I've needed to change encoding on some database tables so I started that process after the recent server migration but haven't finished changing the pages to match.
“Some things never change, no, don't ever change
And I'm feeling the cold
Thinking that we're getting older and wiser
When we're just getting old”
- David Gilmour
User avatar
Conor
Posts: 1004
Joined: 9/2/2014
14ers: 41 6 6
13ers: 41 1 1
Trip Reports (7)

Re: Pop-out topic windows

Post by Conor » Thu Oct 29, 2020 5:17 pm

Also, a lack of "encoding" in some instances.
Annotation 2020-10-29 171644.jpg
Annotation 2020-10-29 171644.jpg (75.85 KiB) Viewed 1617 times
User avatar
d_baker
Posts: 2751
Joined: 11/18/2007
14ers: 58 15
13ers: 279 9
Trip Reports (57)

Re: Pop-out topic windows

Post by d_baker » Mon Dec 14, 2020 7:14 pm

On my droid, this happens. I clicked the like and then started to type a comment and Whiley was hovering over the entire time! Wtf, back off. ;)
Screenshot_20201214-191021_Chrome.jpg
Screenshot_20201214-191021_Chrome.jpg (58.01 KiB) Viewed 1368 times
Post Reply