https://bugs.gpodder.org/show_bug.cgi?id=1574

--- Comment #11 from Thomas Perl <[email protected]> 2012-03-06 17:33:29 GMT ---
(In reply to comment #10)
> > Do any of these workarounds fix the problem?
> None of the workarounds worked! :(

Does this patch help? (sorry for this ping-pong trial'n'error approach, but I
can't reproduce the issue here..) Also: Which version of Python are you using?

diff --git a/bin/gpo b/bin/gpo
index 113cbb2..43d3908 100755
--- a/bin/gpo
+++ b/bin/gpo
@@ -145,6 +145,8 @@ def safe_print(*args, **kwargs):
     output = u' '.join(map(convert, args))
     if ofile.encoding is None:
         output = util.sanitize_encoding(output)
+    else:
+        output = output.encode(ofile.encoding, 'ignore')

     try:
         ofile.write(output)

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to