개발자/Sendgrid
[Sendgrid/intellij/JAVA] unknown charset 'ms949'
퍼플벌룬
2021. 5. 21. 11:25
인텔리제이에서 Sendgrid 메일 발송 테스트 진행 중 한글 깨짐 관련 오류가 발생하여
발송인 메일로 다음과 같은 오류 메일이 왔습니다.

A message was received from this address by our systems that had errors in the SMTPAPI header, and cannot be processed due to the following:
- unknown charset 'ms949'
If you require assistance in working with the SendGrid API, please contact us at support@sendgrid.com
확인해보니 인텔리제이에서 컴파일이 UTF-8로 되지 않아서 발생하는 현상이었습니다.
help - Edit Custom VM Options.. 를 열어서

아래 문구를 추가하고 인텔리제이 재시작~
-Dfile.encoding=UTF-8

안 되면 .. 다시 Setting-Editor-File Encodings에서 UTF-8로 설정..

그래도 안 되면.. 상단 설정에 Edit Configurations.. 들어가서


저는 이걸 다 하고.. 해결되었습니다ㅎㅎ