I am writing a Java program with a GUI that will have Cyrillic text in some labels. When I create label JLabel lbl = new JLabel("Име на обект");
everything is fine and when my program starts it is also properly displayed. But I changed the PC I was working on and copied my project to my home PC. On that system, all Cyrillic text in my code now looks like JLabel lbl = new JLabel("От Дата:*");
and is displayed in the same way when the program runs. How can I make Eclipse show my Cyrillic text normal again?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
i have the same issue :)
Delete the file. Copy the same file again. Don't open the file. Right Click on the file --> Properties. Resource --> Text file encoding --> check "Other" with UTF-8. Open the file.