Title: [152496] trunk/Websites/bugs.webkit.org
Revision
152496
Author
[email protected]
Date
2013-07-09 10:30:13 -0700 (Tue, 09 Jul 2013)

Log Message

PrettyPatch doesn't handle UTF-8 characters correctly
https://bugs.webkit.org/show_bug.cgi?id=45760

Reviewed by Adam Roben.

* PrettyPatch/PrettyPatch.rb: Since the diff lines are typically in UTF-8 and the results
of PrettyPatch may be served by a web server or not (for instance when accessed via
webkit-patch pretty-diff), we should use a meta tag to force the page encoding to UTF-8.

Modified Paths

Diff

Modified: trunk/Websites/bugs.webkit.org/ChangeLog (152495 => 152496)


--- trunk/Websites/bugs.webkit.org/ChangeLog	2013-07-09 16:22:29 UTC (rev 152495)
+++ trunk/Websites/bugs.webkit.org/ChangeLog	2013-07-09 17:30:13 UTC (rev 152496)
@@ -1,3 +1,14 @@
+2013-07-09  Martin Robinson  <[email protected]>
+
+        PrettyPatch doesn't handle UTF-8 characters correctly
+        https://bugs.webkit.org/show_bug.cgi?id=45760
+
+        Reviewed by Adam Roben.
+
+        * PrettyPatch/PrettyPatch.rb: Since the diff lines are typically in UTF-8 and the results
+        of PrettyPatch may be served by a web server or not (for instance when accessed via
+        webkit-patch pretty-diff), we should use a meta tag to force the page encoding to UTF-8.
+
 2013-05-23  Patrick Gansterer  <[email protected]>
 
         EWS bubbles need more space

Modified: trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb (152495 => 152496)


--- trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb	2013-07-09 16:22:29 UTC (rev 152495)
+++ trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb	2013-07-09 17:30:13 UTC (rev 152496)
@@ -160,6 +160,7 @@
     HEADER =<<EOF
 <html>
 <head>
+<meta charset='utf-8'>
 <style>
 :link, :visited {
     text-decoration: none;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to