Unsupported characters for the charset

· Spring/Techs
Unsupported characters for the charset 'ISO-8859-1' 경고 메세지의 발생 원인 이 메세지는 .properties 파일의 기본 인코딩이 ISO-8859-1 로 되어 있는데, 해당 인코딩으로 지원하지 않는 문자열을 쓸 때 발생한다. 이런 경우 경고를 무시하고 애플리케이션을 실행할 경우, 해당 문자를 읽으면 '????' 로 표기된다. 예를 들어 /bloginfo/kotlinworld 경로의 응답을 처리하는 함수를 만들어보자. 이 함수는 Accept-Language 값을 읽어 Locale 객체로 변환한다. @GetMapping("/bloginfo/kotlinworld") fun getBlogInfo( @RequestHeader("Accept-Language") locale..
Dev.Cho
'Unsupported characters for the charset' 태그의 글 목록