Umlaute / Umlauts as escape sequence

Hey,

I am rebuilding my game in UE5 since I had trouble with win11.
So while rebuilding I ran into the problem that certain letters are interpreted as escape sequence.
Since I am from germany my game supports english and german language. In case you never heard of it in germany there are so called umlauts. Basically it’s that for example a AE = Ä or a OE = Ö.
Since those umlauts are commonly used in german it feels weird to use AE or OE.

So my game is a card game and currently each card has a text and name which are set when they are created.
I picked out an example that doesn’t really work to demonstrate my problem.

Here I am setting the text in english and in german.

But the umlauts aren’t really interpreted corrrectly.
For example the Effect becomes:

As you can see all umlauts are removed and the text gets cut off after the Ü of " (Fügt "

If I change the name “Giftkroete” to it’s actual name “Giftkröte” I get the following error

grafik

When I now add a space after the name the error is gone. But this doesn’t work on the " (Fügt " case.

I had this issue before when the project was still running on UE4.17 but after some time the problem was gone.
Unfortunately I don’t remember if I did anything to resolve this or if the problem solved itself after a while.

Cheers,
Proby

In case anyone also runs into this problem, the solution is to use FName instead of FString.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.