Handle UTF-8 comments
authorAaron Bentley <abentley@panoramicfeedback.com>
Tue, 18 Apr 2006 16:43:31 +0000 (12:43 -0400)
committerAaron Bentley <abentley@panoramicfeedback.com>
Tue, 18 Apr 2006 16:43:31 +0000 (12:43 -0400)
Bugs-Everywhere-Web/beweb/formatting.py

index 44ed849eaef0b320b17c725d49d3f39a6f9327f3..b68d328facf5e53f58e10c192feb02e7a5024d1e 100644 (file)
@@ -33,7 +33,7 @@ def soft_text(text):
 
 def soft_pre(text):
    return XML('<div style="font-family: monospace">'+
-              ''.join(soft_text(text))+'</div>') 
+              ''.join(soft_text(text)).encode('utf-8')+'</div>') 
 
 
 def get_rest_body(rest):