Framework/Springboot [Springboot] data.sql 한글 깨짐 현상 해결 방법 (.html or H2 DB) - 728x90 반응형 Spring 프로젝트 테스트 중 resources/templates/data.sql 파일 내부 SQL 구문을 입력 후 html 문서로 (thymeleaf) 나타낼 때 한글 깨짐 현상이 발생했다. 해결 방법 📝 application.yml 인 경우 spring.sql.init.encoding=UTF-8 📝 application.properties 인 경우 spring: sql: init: encoding: UTF-8 작성 후 실행해보면 정상적으로 한글이 나오게된다. 728x90 반응형 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기Feat Dev 저작자표시 비영리 변경금지 Contents 📝application.yml인경우 📝application.properties인경우 추천 컨텐츠 [Springboot] 스프링부트 예외처리 (try~catch~finally) 2023.11.13 [Springboot] 스프링부트 데이터 수집 2023.11.13 [Springboot] 스프링부트 파일 클래스(File Class) 2023.11.13 [Springboot] 스프링부트 입출력 스트림 2023.11.13 -