Spring

IntelliJ에서 한글 깨짐 현상(인코딩 설정)

MDanderson 2023. 11. 14. 20:42

Ctrl+ Alt + S 하셔서 settings 창 키신 다음 encoding 검색해주세요.

 

global encoding -> utf-8로 설정

project encoding -> utf-8로 설정

default encoding for properties files -> utf-8로 설정

Transparent native-to-ascii conversion에 체크

 

 

 

Help → edit custom VM options 들어가셔서 아래 코드 두줄 추가해주시고

 

-Dfile.encoding=UTF-8

-Dconsole.encoding=UTF-8

 

캐시무효화 

IntelliJ 다시 껐다가 켜주세요