WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
258819
[ews] Build failure notification step fails with: 'ascii' codec can't encode character '\u2018' in position 777: ordinal not in range(128)
https://bugs.webkit.org/show_bug.cgi?id=258819
Summary
[ews] Build failure notification step fails with: 'ascii' codec can't encode ...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-07-03 12:25:06 PDT
<
rdar://problem/111700007
>
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.
Top of Page
Format For Printing
XML
Clone This Bug