Developers, Developers, Developers! Maksim Sorokin IT Blog

17Aug/100

UTF-8 File Encoding in Eclipse

By default Eclipse interprets files as being not UTF-8. The reason for that is that file encoding is inherited from JVM property file.encoding, which is usual set to something else. That is why you see “Text file encoding” being“ being Cp1252 (or something similar) when you right-click on a file in Eclipse.

To change it, go to Window->Preferences, Choose General->Workspace in the left menu. And change “Text file encoding” from “Default” to “UTF-8”.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Trackbacks are disabled.