Unable to create a file with foreign language characters
That looks like Eclipse.
- Cut the whole contents of the file into the clipboard.
- Save the (now empty) properties file.
- Change the encoding settings of the file (Alt+Enter) to be UTF-8 or whatever you need.
- Paste the clipboard into the editor.
- Save the editor.
I presume its eclipse:
- Go to Windows Menu –> Preferences –> General (expand it) –> Workspace (click on it)
- Look for a box “Text File Encoding”. Default will be “Cp1252″.
- Change radio to select other and select “UTF-8″ from combo box.
Assuming it is in Eclipse, easiest way is to choose Save as UTF-8 option present in the error dialog box.
The other answers work well too.