summaryrefslogtreecommitdiff
path: root/net/straw/files/patch-src::lib::utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/straw/files/patch-src::lib::utils.py')
-rw-r--r--net/straw/files/patch-src::lib::utils.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/straw/files/patch-src::lib::utils.py b/net/straw/files/patch-src::lib::utils.py
new file mode 100644
index 000000000000..f516ea556b50
--- /dev/null
+++ b/net/straw/files/patch-src::lib::utils.py
@@ -0,0 +1,11 @@
+--- src/lib/utils.py.orig Sun Nov 16 03:58:11 2003
++++ src/lib/utils.py Sun Nov 16 03:58:32 2003
+@@ -22,7 +22,7 @@
+ previous = None
+ while res_len < chars and i < frag_len - 1:
+ i += 1
+- current = fragment[i]
++ current = fragment[i].encode('utf-8')
+ if in_tag:
+ if in_attr:
+ if current == '"':