이클립스나 STS를 설치했다면 가장 먼저 인코딩 설정을해야 후회할 일이 없다.

 

 


1. Window > Perferences

   a. General > Content Types > Java Class File 선택
      ​ -> Default encoding : UTF-8 입력후 Update


   ​   General > Content Types > Text > Java Properties File 선택
   ​    -> Default encoding : UTF-8 입력후 Update


   b. General > Workspace > Text file encoding > Other : UTF-8선택

   c. General > Editors > Text Editors > Spelling > Encoding > UTF-8

2. 검색창에 encoding 입력

   a. Web > CSS Files > UTF-8선택 (ISO 10646/Unicode(UTF-8))

   b. Web > HTML Files  > UTF-8선택 (ISO 10646/Unicode(UTF-8))

   c. Web > JSP Files   > UTF-8선택 (ISO 10646/Unicode(UTF-8))

   d. XML > XML Files   > UTF-8선택 (ISO 10646/Unicode(UTF-8))

+ Recent posts