Unicode name in color palettes

When using Unicode names in color palettes, an error occurs while loading the theme.

Color Name: Dark ©

/stylesheets/color_definitions_dark-©_1_fd40...058de7a.css

Returned: 404 Not found

Did this problem just happen to me?

Maybe don’t use unicode characters in color palettes?

3 Likes

The reason I mentioned this was because the language of my forum is not English and I have to write the name of the color palette in another language. On a site with a language other than English, this problem occurs when a user tries to choose a different color palette from their profile settings.

Green - Зеленый - أخضر - 綠色 - Grün - سبز - 초록 - Grön
Dark - Тьма - داكن - 黑暗 - تاریک - 어두운 - Mörk

5 Likes

I think this is a recent regression due to automatic dark mode, @pmusaraj maybe scrub the text of the scss file name so we omit unicode which tends to be a problem across proxies.

5 Likes

This should be now fixed @nildarar via https://github.com/discourse/discourse/commit/d4a7058cb1712d46f92fc9ba6bb2760e6c0b7488.

2 Likes

Thank you for your support, I will check this after the update :pray: :blush:

2 Likes

This topic was automatically closed after 3 days. New replies are no longer allowed.