Umlauts are not displayed correctly in the dropdown menu

Hello together,

I created several extension fields today. Among others also with drop down menu. Unfortunately, the umlauts (ä, ü, ö) are not displayed correctly in the menu. The second problem is that the TDI that sends the information to the Active Directory also does not transmit correctly with umlauts.

What could be done, so that connections represent the umlauts both correctly and via TDI?

Many thanks for help!

Best Regards

Max

Hello Max,
Hope you are doing good!

It seems a bug to me. Is it happening on RTE as well? or just happening on drop down? Please confirm.

Thanks!

Regards,
Pratyush

Hi Pratyush,

thanks i am great i hope you too. 😃

I can reproduce the issue in my Testenvironment (V7 with latest Cfix) and also in our product environment with V6.5CR1.

I define the drop down menue in the commonUtil.ftl.

Do I need a special character for umlauts in .ftl?

Best Regards

Max

Hello Max,
I am doing well! Thanks for asking :)

Actually, i am not sure if i can suggest any changes to you directly on commonUtil.ftl file at this point but If it is happening in RTE as well then it is surely a bug.

Well, I would suggest you to raise a case for this issue so that we could further investigate.

I hope i was able to help you a little bit.

Wishing you a great day ahead!

Regards,
Pratyush

Hi Max,

I'm curious, but when I understand it right, then you provide this "Mit freundlichen Grüßen" String in your customizations, or?

Can you test in a field with free text, if you can type and store german umlauts without issues?

Then have a look into the profiles strings files and check the strings there. All umlauts are written in entities, so you have to provide the strings with entity, then the user will see and write the UTF-8 characters to the database.

https://help.hcltechsw.com/connections/v6/admin/customize/r_customize_properties_files.html

In installedApps/<cell_name>/Profiles.ear/lc.profiles.app.war/WEB-INF/lib/lc.profiles.web.app.jar: com/ibm/lconn/profiles/strings/ui_de.properties

There you will see, that an ü needs to be written as \u00fc and so on.

Regards

Christoph

Hi Christopher,

in a free text field it works with Umlauts. Only in the Dropdown menu i have the issue.

I have entered in the commonUtil.ftl the terms directly "Mit freundlichen Grüßen".

Should I deposit these in the ui_de.properties first?

How do I define Umlauts them in the custombundle?

Would that be correct in the commonUtil.ftl?

{ "label": bundleResource(custombundle, "Mit freundlichen Grueßen), "value":"Mit freundlichen Grueßen" },

Would it be correct in the ui_de.properties file?

# Grüße

Mit freundlichen Grueßen=Mit freundlichen Gr\u00fcßen

Many thanks for help.

Best Regards

Max

Nope, keep it in your ftl for the moment.

I would recommend the properties files, when you have multilingual users. So when you want to store the values in multiple languages, if you have only german speaking folks, you can keep it simple.

I would do something like this:

"label": "Mit freundlichen Gruessen", "value": "Mit freundlichen Gr\u00fc\u00dfen"

The ß is special too, so don't use it as a label!

I mentioned ui_de.properties to have a look into the different character replacements, or you look at https://www.fileformat.info/info/unicode/char/00df/index.htm

Unfortunately, it did not help to write the umlauts differently. Like e.g. \u00fc.

The solution in this case was to add the following custom properties in the JVM of the Infracluster.

Now the umlauts are displayed correctly.

Best Regards

Max