Welcome to PIXLS.US Discussion

Of course I am aware.

@darix is the expert and cannot reproduce on different devices, so I won’t call it solid.

I am always happy to help, but here I don’t see how it would help if i report it upstream. They will likely have questions that I cannot answer as I am not operating this discourse instance. I could only drop the message there without a stable reproduction, and then?

As written above, the key expert cannot reproduce but some users can, so it would imho help if @darix could reproduce first.

Anyway, this bug is not critical by any means, but if you still want me to report it upstream i will do. If somebody of the other users that can reproduce this already has an account at the discourse discourse, however, I would be thankful if they could drop it there and I don’t have to get another account for another website, I already have too many.

Btw, are you able to reproduce? It’s just one click away …

i mean it is a bit confusing that only 2 users seem to have this issue at all.

It’s something you would not normally stumble upon. I’m here since almost the very beginning, and only after @cedric pointed me (us) there a couple of messages above I saw the issue.

But yes, I struggle to understand how only few people can reproduce, but on so many fundamentally different os and browsers.

Btw, @darix, since you tested on ios as well, which browser did you use and what are your language settings? My iphone (company managed) has a german language setting, which might be the only difference i still could imagine causing this type of issue …

safari and vivaldi. but yes all my devices are in english. but that shouldnt change much except for languages used for messages.

OK, now I also checked on Windows, 3 different browsers, all up to date: chrome, firefox and edge. All of them are showing “…” instead of “…” at the end of the description of the “Meta” category on the categories overview page. How can that be?

Can you go into the inspector, and look at the json payload and see if you see it there?

If I am interpreting the inspector the right way (I am not a web developer), the text does not come in an extra json file but directly in the html file, but maybe json encoded inside a div tag which is inside a “<discourse-assets-json>” tag.

If I save the contents of the response from there, and grep for “suggestions,” in a bash terminal, I can see the “…” (ellipsis) instead of the garbled characters. File tells me the following about the file: “categories: HTML document, Unicode text, UTF-8 text, with very long lines (47355)”.

Firefox thinks the same:
grafik

So it seems that the transition from the encoded data to the dom seems to fail somehow. Any idea where to go from here?

do you have any proxy or so running? something like LAN wide adblock or so?

i created a new account. browser completely set to german. in discourse also set to german.

also

output of locale

for a german system you want de_DE.UTF-8 as locale the important is the .UTF-8

Only in the case of the company laptop (windows) there’s a man in the middle proxy. One of the firefoxes I tried on linux has ublock origin, the other does not. Nothing lan-wide, and I also tried with different phones (android and ios) on the mobile network, also no difference.

My discourse was set to “english (us)”, but switching to german did not change the behavior.

$ locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

The one that bothers me most is that we observe different results on the iphone, as i would have expected that there’s everything restrictive enough to not display websites in a different way on different devices.

@darix, we can pause or stop this at any point in time. It’s holiday season and you might have other duties. It’s not a mission critical thing. It’s my personal curiosity that makes me investigate this further. What I mean is: Do this at your pace, whatever it is, I am here to try out more ideas if there are any, whenever they come in.

Happy holidays! And thanks for the great work you do for/with this gem on the internet. Of course, the same to all admins, moderators and otherwise involved people. :christmas_tree:

JFYI: I purged all the assets it does compile during the update and let them regenerate fresh. maybe that will help.

2 Likes

Recently I also started seeing it, but never bothered to mention. I have it on Android Chrome, and I think also on desktop Firefox.

Chrome on Android:

Search view has the issue:

Article view does not:

Same here on a system with German locale (Archlinux).

Just to confirm that when I look at my list of Activities within the forum both double quotes and apostrophe gets replaced:
image
image

EDIT:
My Mint 22 pc runs with Norwegian locale.
Browser = FIrefox 134.01

Pasting a reference to a post also generates a preview with artefacts:

This is for

The activity view shows the problem, too:

A potential fix has been deployed. Please check.

For the details see Weird encoding issue on categories page - Support - Discourse Meta

2 Likes

Let’s see:

Yep. Thanks!

Confirm that previous errors in Activities listings have also disappeared.
Thanks for the work!

Did the forum software change in the last 30 minutes or so? The last time I opened the site, everything was as I have been used to for years. Now, there is something like a panel on the left with Topics, My Posts, Invite, More, then Categories. If I have fumble-fingered something and turned this on, I do not see any way to turn it off.

  1. This time of the year again - Discourse 3.4.0 got tagged - #3 by paperdigits
  2. press the hamburger button on the left in front of the pixlsus logo/text.
1 Like

Personally, I like it. Makes better use of the screen space on a non-mobile device. Menus are clean (though I will probably customize them a bit), tags are exposed, as are messages.

1 Like