Unable to create a file with foreign language characters

后端 未结 5 1448
旧巷少年郎
旧巷少年郎 2020-12-17 09:35

I get the following error, when trying to save a properties file (containing name/value pairs) with foreign language characters. How do I set the encoding?

5条回答
  •  甜味超标
    2020-12-17 10:01

    Best possible solution for this , which I always do .Is to go the respective file in your workspace open it in notepad++ and make the desired changes. Once done , save the file. Your eclipse will ask you to update the code with the changes . Click yes. And you are all good to go now.

提交回复
热议问题