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?
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.