Commit b4e59e9d authored by Vinay Sajip's avatar Vinay Sajip

Closes #14452: remove BOM insertion code.

parents b206a80d ee9e485c
...@@ -850,7 +850,7 @@ class SysLogHandler(logging.Handler): ...@@ -850,7 +850,7 @@ class SysLogHandler(logging.Handler):
prio = prio.encode('utf-8') prio = prio.encode('utf-8')
# Message is a string. Convert to bytes as required by RFC 5424 # Message is a string. Convert to bytes as required by RFC 5424
msg = msg.encode('utf-8') msg = msg.encode('utf-8')
msg = prio + BOM_UTF8 + msg msg = prio + msg
try: try:
if self.unixsocket: if self.unixsocket:
try: try:
......
...@@ -36,6 +36,8 @@ Core and Builtins ...@@ -36,6 +36,8 @@ Core and Builtins
Library Library
------- -------
- Issue #14452: SysLogHandler no longer inserts a UTF-8 BOM into the message.
- Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType. - Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType.
- Issue #13959: Make imp.reload() always use a module's __loader__ to perform - Issue #13959: Make imp.reload() always use a module's __loader__ to perform
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment