[jboss-jira] [JBoss JIRA] (LOGMGR-98) Disable UTF-8 BOM in syslog handler when encoding is undefined
James Perkins (JIRA)
issues at jboss.org
Tue Oct 20 19:54:01 EDT 2015
[ https://issues.jboss.org/browse/LOGMGR-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins reassigned LOGMGR-98:
-----------------------------------
Assignee: (was: James Perkins)
> Disable UTF-8 BOM in syslog handler when encoding is undefined
> --------------------------------------------------------------
>
> Key: LOGMGR-98
> URL: https://issues.jboss.org/browse/LOGMGR-98
> Project: JBoss Log Manager
> Issue Type: Enhancement
> Reporter: Kyle Lape
>
> Section 6.4 MSG: http://tools.ietf.org/html/rfc5424#section-6.4
> bq. If a syslog application encodes MSG in UTF-8, the string MUST start with the Unicode byte order mask (BOM), which for UTF-8 is ABNF %xEF.BB.BF. The syslog application MUST encode in the "shortest form" and MAY use any valid UTF-8 sequence.
> While we want to conform to the spec, it is desirable to not include the BOM in some practical applications, e.g. rsyslog does not strip the BOM, and sometimes it would be easier to be able to configure JBoss to not include the BOM than to configure rsyslog to drop it.
> Perhaps we can not include the BOM is the encoding is undefined for the {{SyslogHandler}}, but do include it if the {{encoding}} is explicitly set to {{UTF-8}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list