Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse .properties file disable escaping of UTF-8 characters

I'm using *.properties files in my java/android applications for my translations files. My problem is that .properties files in eclipse escape utf-8 characters that are out of the ISO-8859-1 charset so I see the escaped characters. So I decided to make my own library that reads the file in utf-8 format. BUT eclipse still escapes characters. Is there any way to make eclipse handle *.properties files as normal text files??

like image 362
Panos Avatar asked Jan 15 '23 06:01

Panos


1 Answers

Right Click on the file, properties. Under "resource" tab , check for "Text File Encoding" at the bottom right and change that to UTF-8.

like image 96
Panos Avatar answered Jan 31 '23 00:01

Panos