Published page URI & national characters?

Hi guys.
I’m hoping this is a matter of my setup ‘suffers’ from misconfiguration - otherwise I’d have call it a bug for…
a topic with national chars in the title gets a URL with those chars fine, no problems there, but the page published off such topic shows a URL mangled horribly.
I cannot use, put correct chars there manually for Discourse says that slug contains incorrect chars.

does changing this site setting help?

I’ve had encoded - which I believed was a must for non-english lang, so I did not try anything else, yet.
nope… does not resolve the issue, I would (imagine everybody) prefer to keep my national chars. Looks increasing more like a bug, no?

Any @devel here? Should I move it into bug?

If you’d like to make a bug report rather than ask the community for support, there’s a good bug reporting guide here - Writing an effective bug report

We would need some repro steps, and screenshots would also be of value.

@JammyDodger There is not much to it - deploy, change lang (PL in my case), set encode - should be very easy to reproduce.
Can create titles (off which URLs/slugs are created I presume) with national chars – cannot publish such a page with those national chars.
I was hoping somebody/devel can reproduce before I file a bug

Have you got a topic title I could copy and paste to try it out?

If not lettuce then not frog

Or second example:

Oil on ice in old Åbo.

테스트를 수행해 보았습니다:

  • 기본 로케일을 polski(또는 suomi)로 설정
  • 슬러그 생성 방법을 'encoded’로 설정
  • 페이지 게시 활성화를 켜기

  • 제목이 ‘Jeśli nie sałata to nie żaba’(또는 ‘Jäällä öljyä vanhassa Åbossa’)인 주제를 생성
  • 생성된 주제 슬러그: /t/je%C5%9Bli-nie-sa%C5%82ata-to-nie-%C5%BCaba/758(또는 /t/j%C3%A4%C3%A4ll%C3%A4-%C3%B6ljy%C3%A4-vanhassa-%C3%A5bossa/759)

  • 인코딩된 슬러그 je%C5%9Bli-nie-sa%C5%82ata-to-nie-%C5%BCaba를 URL로 사용하여 주제 게시 시도
  • URL에 잘못된 문자가 포함되어 있어 게시 불가
  • 인코딩을 제거하면 페이지를 게시할 수 있음

대안으로…

인코딩된 슬러그가 페이지 게시에 지원되지 않는 것으로 보입니다.

여기서는 어떤 동작을 기대해야 하나요? 폴란드와 핀란드의 정부 웹사이트를 확인해 보았는데, URL은 이 문제를 해결하기 위해 인코딩하지 않는 것으로 보입니다.

또한 검색을 해 보았는데, 이전에 이 문제가 제기된 적이 없는 것 같습니다. 따라서 지원된 적이 없다면 Contribute > Feature 요청 영역이 될 수 있고, #contribute:bug가 아닐 수도 있습니다.

Don’t mind the governments - those are extremely rarely the brightest among us, though many would hope they were.
As for the rest of us – yes, I’m surprised nobody reported that ever before – many if not most, are sheeple or lazy or both.

What expected - I’d only worry, focus here on the one thing which matters, certainly should matter to solid devel/programmers — which is logic & consistency. If one part of system/code does(or doesn’t) do something, then another bit(s) which relays, depends on the first one, should… obviously. So on so forth.
Bug is - published pages brake with national characters in titles and they should not. Discourse should be able to publish pages with national characters in URLs/slugs.

You can reproduce this far more easily.

Just try to publish a page and add a % sign to the slug. It will immediately display the message about their being an invalid character.

Have you got a URL of what you would expect to see that you can give as an example?

I think the idea behind page publishing is to have a readable URL, so an encoded one would seem to go against that?

No they don’t, in Finland anyway - and AFAIK same thing applies thru all Nordic, including almost or totally every country in the world.

Just because that way internet works because of historical reasons and english (and its very limited alphabet system :sweat_smile:). But it is always bad idea using those characters in urls and filenames on linuxes.

I don’t expect anything but letters another than a..z shall be cleaned, or coded. We have to remember too the fact that quite few ever see actual urls.

So… my role here was only offering some lego blocks more to play with, and I’ve had never any issues with urls. Neither my users.

I don’t understand - I filed a bug report.

Cross-posting your issue is unnecessary. If you could provide the extra details here that would be sufficient. :+1: