$NetBSD: patch-ad,v 1.1 2006/08/17 11:57:25 darcy Exp $ --- lib/python/StructuredText/ST.py.orig Sat Jan 7 21:07:51 2006 +++ lib/python/StructuredText/ST.py Sun Jan 15 10:23:46 2006 @@ -116,6 +116,9 @@ Structure => [paragraph,[sub-paragraphs]] """ + if type(paragraphs) == type(''): + paragraphs = unicode(paragraphs, 'utf-8') + currentlevel = 0 currentindent = 0 levels = {0:0}