Storing special symbols in string (š, č, á, é, etc.).

Hello, I am creating a strategy game where I store cities in a text asset and every value they have is stored there as well as their name. Getting that name out is no problem but the problem comes when I have a city with special symbol - I’m Czech so I’m testing some Czech names and all the special symbols are unknown for the string.
The problem is not in font, because whenever I start the game and then in editor change the value to the one with a special symbol, the game is able to show it to me properly - in other words, the font knows these symbols.
So my question is - how can I store special characters in a string variable so I can properly show the name of the city when the player clicks on it?

Your asset is encoded with ANSI, and ANSI doesn’t support special symbols.
You need to save the file with encoding different than ANSI, like for example Unicode

Hiya.

Try putting the special symbols in a char array and pull them out whenever you need it for each name.

public Char[] specialSymbols = {é, á, ê, û};
public string cityName;

public Start ()
{

cityName = "foo" + char[2].ToString() + "bar";

}

You can put the char array in a static class so you can pull it out from anywhere saving you the hassle of copy pasting the array over and over.