eclipse修改properties文件的編碼
原文地址 https://blog.csdn.net/lewky_liu/article/details/75213383eclipse的properties文件是默認ISO-8859-1編碼的,如果在properties裏輸入中文會導致亂碼,此時需要修改其編碼爲utf-8,具體步驟如下:
Window→Preferences→General→Content Types→Text,然後單擊Java Properties Files,選定下方的*.properties(locked),接着將最下方的ISO-8859-1改爲utf-8,然後點擊旁邊的 Update,最後點擊OK。