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: 2768
Joined: 11/18/2007
14ers: 58 15
13ers: 284 9
Trip Reports (57)

Pop-out topic windows

Post by d_baker »

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 2251 times
User avatar
cottonmountaineering
Posts: 709
Joined: 5/11/2018
14ers: 58 7 18
13ers: 170 33 28

Re: Pop-out topic windows

Post by cottonmountaineering »

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

Re: Pop-out topic windows

Post by d_baker »

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 2220 times
User avatar
cottonmountaineering
Posts: 709
Joined: 5/11/2018
14ers: 58 7 18
13ers: 170 33 28

Re: Pop-out topic windows

Post by cottonmountaineering »

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

Re: Pop-out topic windows

Post by HikerGuy »

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

Re: Pop-out topic windows

Post by supranihilest »

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: 709
Joined: 5/11/2018
14ers: 58 7 18
13ers: 170 33 28

Re: Pop-out topic windows

Post by cottonmountaineering »

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

Re: Pop-out topic windows

Post by justiner »

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: 3565
Joined: 8/28/2010
14ers: 58 4
13ers: 138
Trip Reports (28)
Contact:

Re: Pop-out topic windows

Post by justiner »

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: 6351
Joined: 7/26/2004
14ers: 58 46 22
13ers: 167 55 45
Trip Reports (7)
Contact:

Re: Pop-out topic windows

Post by BillMiddlebrook »

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.
“No one is exempt from the odds of even” - Marilyn Manson
User avatar
Conor
Posts: 1017
Joined: 9/2/2014
14ers: 41 6 6
13ers: 50 1 1
Trip Reports (7)

Re: Pop-out topic windows

Post by Conor »

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

Re: Pop-out topic windows

Post by d_baker »

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 1737 times
Post Reply