You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ChenYuwang (Jira)" <ji...@apache.org> on 2021/10/18 09:07:00 UTC

[jira] [Created] (LOG4J2-3176) Email reminder cannot modify character set

ChenYuwang created LOG4J2-3176:
----------------------------------

             Summary: Email reminder cannot modify character set
                 Key: LOG4J2-3176
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3176
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.14.1, 2.14.0, 2.13.2
            Reporter: ChenYuwang


[https://github.com/apache/logging-log4j2/blob/rel/2.14.1/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java]

getHeaders(final String contentType, final String encoding)

 

> headers.setHeader("Content-Type", contentType + "; charset=UTF-8");

 

This character set cannot be set to other

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)