[Webkit-unassigned] [Bug 156674] Build tools should work when the /usr/bin/python is python3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 7 05:38:44 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=156674

--- Comment #47 from Alicia Boya GarcĂ­a <aboya at igalia.com> ---
Also, even when you have WebKit in a full ASCII path, the default text file encoding is derived from these environment variables too; so it's very easy that a script fails while reading any file containing non ASCII characters e.g. contributors.json or the Changelog unless it does so in binary mode or with a explicit encoding (e.g. `file = io.open("path", "r", encoding="UTF-8")`).

http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181007/0d5bc291/attachment.html>


More information about the webkit-unassigned mailing list