<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED REMIND - [Qt] Using QWebView crashes the application on FreeBSD"
href="https://bugs.webkit.org/show_bug.cgi?id=30381#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED REMIND - [Qt] Using QWebView crashes the application on FreeBSD"
href="https://bugs.webkit.org/show_bug.cgi?id=30381">bug 30381</a>
from <span class="vcard"><a class="email" href="mailto:bsee095@gmail.com" title="Bobby <bsee095@gmail.com>"> <span class="fn">Bobby</span></a>
</span></b>
<pre>Subversion Revision: 95990
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index 612eb050619279b212d7d47db765511f8b0c113c..889b68ef5a15408d244b99fc1360b0c792700f1b 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,12 @@
+2011-09-27 Tom Zakrajsek <<a href="mailto:tomz@codeaurora.org">tomz@codeaurora.org</a>>
+
+ webkit-patch doesn't like UTF-8 characters in reviewers names
+ <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - webkit-patch doesn't like UTF-8 characters in reviewers names"
href="show_bug.cgi?id=63452">https://bugs.webkit.org/show_bug.cgi?id=63452</a>
+
+ Reviewed by NOBODY (OOPS!).
+
+ * Scripts/webkit-patch:
+
2011-09-26 Adam Roben <<a href="mailto:aroben@apple.com">aroben@apple.com</a>>
Clean up code imported from WebKitAPITest
diff --git a/Tools/Scripts/webkit-patch b/Tools/Scripts/webkit-patch
index 159985f8a004d1cba223affcb051446a4f821f7e..91e4c0f9aa455e359cbe01d7498745be32a90847 100755
--- a/Tools/Scripts/webkit-patch
+++ b/Tools/Scripts/webkit-patch
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright (c) 2011 Code Aurora Forum. All rights reserved.
# Copyright (c) 2010 Google Inc. All rights reserved.
# Copyright (c) 2009 Apple Inc. All rights reserved.
# Copyright (C) 2010 Chris Jerdonek (<a href="mailto:cjerdonek@webkit.org">cjerdonek@webkit.org</a>)
@@ -35,6 +36,13 @@ import logging
import os
import signal
import sys
+import codecs
+
+# By default, sys.stdout assumes ascii encoding. Since our messages can
+# contain unicode strings (as with some peoples' names) we need to apply
+# the utf-8 codec to prevent throwing and exception.
+# Not having this was the cause of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - webkit-patch doesn't like UTF-8 characters in reviewers names"
href="show_bug.cgi?id=63452">https://bugs.webkit.org/show_bug.cgi?id=63452</a>.
+sys.stdout = codecs.lookup('utf-8')[-1](sys.stdout)
from webkitpy.common.system.logutils import configure_logging
import webkitpy.python24.versioning as versioning</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>