Title: [292170] trunk/Websites/bugs.webkit.org
- Revision
- 292170
- Author
- [email protected]
- Date
- 2022-03-31 13:43:03 -0700 (Thu, 31 Mar 2022)
Log Message
[Bugzilla] Code reviews show non-ASCII characters in patches as garbage
https://bugs.webkit.org/show_bug.cgi?id=238630
Reviewed by Aakash Jain and Darin Adler.
We have a convention that our sources (and therefore our patches) in WebKit are UTF-8.
The output of prettify.rb is also UTF-8. So, we just need to tell Perl that, when it
reads the output of prettify.rb, it just needs to understand that the data it's reading
is UTF-8.
* attachment.cgi:
(prettyPatch):
Modified Paths
Diff
Modified: trunk/Websites/bugs.webkit.org/ChangeLog (292169 => 292170)
--- trunk/Websites/bugs.webkit.org/ChangeLog 2022-03-31 20:37:52 UTC (rev 292169)
+++ trunk/Websites/bugs.webkit.org/ChangeLog 2022-03-31 20:43:03 UTC (rev 292170)
@@ -1,3 +1,18 @@
+2022-03-31 Myles C. Maxfield <[email protected]>
+
+ [Bugzilla] Code reviews show non-ASCII characters in patches as garbage
+ https://bugs.webkit.org/show_bug.cgi?id=238630
+
+ Reviewed by Aakash Jain and Darin Adler.
+
+ We have a convention that our sources (and therefore our patches) in WebKit are UTF-8.
+ The output of prettify.rb is also UTF-8. So, we just need to tell Perl that, when it
+ reads the output of prettify.rb, it just needs to understand that the data it's reading
+ is UTF-8.
+
+ * attachment.cgi:
+ (prettyPatch):
+
2021-09-02 Jonathan Bedard <[email protected]>
[contributors.json] Relocation (Part 4)
Modified: trunk/Websites/bugs.webkit.org/attachment.cgi (292169 => 292170)
--- trunk/Websites/bugs.webkit.org/attachment.cgi 2022-03-31 20:37:52 UTC (rev 292169)
+++ trunk/Websites/bugs.webkit.org/attachment.cgi 2022-03-31 20:43:03 UTC (rev 292170)
@@ -430,6 +430,7 @@
$ENV{'PATH'} = $orig_path;
print $in $attachment->data;
close($in);
+ binmode($out, ':utf8');
while (<$out>) {
print;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes