When I edit the properties file, it looks like garbled characters

Event

When editing with eclipse, writing in Japanese and saving When I open it in another editor or when I want to check the difference with Git, it becomes as follows and I can not read it. image.png image.png ** Conversion Tool ** Reverse conversion from Unicode escape in "\ uXXXX" format

Cause

When executed with eclipse, eclipse will automatically convert using a tool called native2ascii. https://www.javadrive.jp/start/encoding/index3.html Even if the character code settings are changed depending on the content type, Japanese characters will be garbled. Actually, it is not a garbled character but a character code, and when you do System.out.println () ;, Japanese appears.

Workaround

Disable native2ascii

Or use the property editor "Properties Editor plug-in" that enables editing in Japanese. http://proengineer.internous.co.jp/content/columnfeature/9158

Recommended Posts

When I edit the properties file, it looks like garbled characters
Try the training online (it looks like self-study support)
When I switched to IntelliJ, I got a lot of differences in the encoding of the properties file.
[Ruby] Thinking when there is no receiver in front of the method (it looks like)
The API looks like this!
When SimpleDateFormat is garbled like ٢٠١٨١٠٠٤٠٨٣١٣٣٦٥٧
UnsupportedClassVersionError was output when I placed the .war file built with Eclipse on EC2 and executed it.
I examined the file created when selecting Empty Activity in Android Studio