$NetBSD: patch-ae,v 1.1.1.1 2007/12/18 15:35:28 taca Exp $ --- lib/python/zope/structuredtext/stng.py.orig 2007-03-25 18:51:59.000000000 +0900 +++ lib/python/zope/structuredtext/stng.py @@ -105,6 +105,9 @@ def structurize(paragraphs, delimiter=re [paragraph,[sub-paragraphs]] """ + if type(paragraphs) == type(''): + paragraphs = unicode(paragraphs, 'utf-8') + currentlevel = 0 currentindent = 0 levels = {0:0}