Bug 253003

Summary: EWS sometimes fails to send email notification when error-log contains non-ascii character
Product: WebKit Reporter: Ryan Reno <rreno>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: ASSIGNED ---    
Severity: Normal CC: aakash_jain, ap, lingho, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Reno 2023-02-27 09:48:40 PST
This job failed to build: https://ews-build.webkit.org/#/builders/36/builds/102083

The analyze-compile-webkit-results step had output that said it would send an email to the expected address though no email was received.
Comment 1 Radar WebKit Bug Importer 2023-02-27 12:04:21 PST
<rdar://problem/105989071>
Comment 2 Aakash Jain 2023-02-28 12:43:25 PST
From twistd.log, I see some errors matching the timestamp of the build:

2023-02-27 08:43:07-0800 [-] Error in sending email for new build failure: 'ascii' codec can't encode character '\u2018' in position 790: ordinal not in range(128)
Comment 3 lingho@apple.com 2023-03-01 13:07:57 PST
Looks like this is happening fairly often. 172 times in the last 4 days. Is it important to fix?

I found some info here regarding the error:
https://stackoverflow.com/questions/54853197/the-smtplib-server-sendmail-function-in-python-raises-unicodeencodeerror-ascii