Bug 258819

Summary: [ews] Build failure notification step fails with: 'ascii' codec can't encode character '\u2018' in position 777: ordinal not in range(128)
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aakash_jain, a_protyasha, ap, clopez, dpino, philn, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2023-07-03 12:24:56 PDT
I came across an encoding exception on EWS (in `Tools.CISupport.ews-build.send_email_for_new_build_failure()`) for one of my PRs -- https://ews-build.webkit.org/#/builders/2/builds/13740. The standard output for the failing stage reads: `Sending email notification to a_protyasha@apple.comError in sending email for new build failure: 'ascii' codec can't encode character '\u2018' in position 777: ordinal not in range(128)` For more context, the associated build failure is provided below, though I doubt it is related: ``` /app/webkit/Source/WebCore/dom/TouchEvent.cpp: In member function 'void WebCore::TouchEvent::initTouchEvent(WebCore::TouchList*, WebCore::TouchList*, WebCore::TouchList*, const WTF::AtomString&, WTF::RefPtr<WebCore::WindowProxy>&&, int, int, int, int, bool, bool, bool, bool)': /app/webkit/Source/WebCore/dom/TouchEvent.cpp:74:5: error: 'WebCore::IntPoint WebCore::MouseRelatedEvent::m_screenLocation' is private within this context ```
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-03 12:25:06 PDT
Alexey Proskuryakov
Comment 2 2023-07-03 12:35:45 PDT
Looks like gcc emits curly quotes when the locale is UTF-8: https://stackoverflow.com/questions/2443991/g-curly-quotes-displayed-incorrectly-in-console-and-problems-list We should make UTF-8 work end to end here (including email generation). But if that's tricky, a short term workaround would be to set a non-UTF locale when building.
Note You need to log in before you can comment on or make changes to this bug.