forked from Lainports/freebsd-ports
to anything other than C. Also, make sure we persist articles across reboots. Approved by: maintainer
11 lines
360 B
Python
11 lines
360 B
Python
--- 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 == '"':
|