Inline Block: Block Name does not get html decoded in editor

Vote:
 

Some characters will not get "html decoded" in the Block name field when editing an Inline Block. This is an issue for some charaters outside the latin alphabet. (Like ÆØÅ, and probably more)

Here is an example:

  1. I create a Inline Block with the name: "Alt du trenger å vite". 
  2. Save and publish looks good!

  3. Edit the block again and the editor shows this:


This affects at least Æ Ø Å, probably more characters too:

It is a minor bug, but it would be easier to read if the name was presented in the correct way for the editor.

Running CMS UI 12.32.4

#338041
May 07, 2025 16:25
Vote:
 

Is this an issue in all environments?

If locally or onprem, what is the encoding of your database?

#338065
May 09, 2025 7:56
Vote:
 

Haven't tested this anywhere else yet as we are developing this now.
However, å is not something the database would encode (?) since it is special for html. https://www.ou.edu/research/electron/internet/special.shtml

Also if it was the database then shouldn't this be an issue in other IContent properties to?
We don't have that issue there. Only at "Block name"-editor field in the InlineBlock feature.

#338066
May 09, 2025 8:07
Eric Herlitz - May 13, 2025 6:47
I know, just to make sure. Simply check the database coallition in sql server.
Tommy Kihlstrøm - May 13, 2025 14:25
Database coallition is SQL_Latin1_General_CP1_CI_AS
Eric Herlitz - May 13, 2025 18:32
That is strange, you don't tamper with the property values (e.g. do any html encoding during the publish) or similar? What does the property look like in code, any special attributes or is it a regular string property?
Vote:
 

It sounds like missing HTML decoding, or too much encoding. As the platform is Unicode, it shouldn't need to HTML encode string properties.

I am sure Optimizely Support would appreciate a bug report on this. They usually fix this kind of bug rather quickly.

#338311
May 18, 2025 19:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.