summaryrefslogtreecommitdiffstats
path: root/news/fbnews/fbnews.patch
diff options
context:
space:
mode:
Diffstat (limited to 'news/fbnews/fbnews.patch')
-rw-r--r--news/fbnews/fbnews.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/fbnews/fbnews.patch b/news/fbnews/fbnews.patch
new file mode 100644
index 0000000000..e7fe4fbc14
--- /dev/null
+++ b/news/fbnews/fbnews.patch
@@ -0,0 +1,20 @@
+--- fbnews.py.orig 2005-05-31 19:02:24.000000000 +0400
++++ fbnews.py 2015-03-31 18:03:11.204129918 +0300
+@@ -24,7 +24,7 @@
+ __revision__ = "0.5"
+
+ DEBUG = False
+-ENCODING = 'iso8859_15'
++ENCODING = 'utf-8'
+
+ import urllib, time, os, codecs, sys, getopt, StringIO
+ import fbnconf
+@@ -77,7 +77,7 @@
+ format += config.siteformat(caption) + ') {}\n'
+
+ for key in lst[1].keys():
+- format += u'[exec] (' + key + ') {' \
++ format += u'[exec] (' + key.replace(')', '\\)') + ') {' \
+ + config.browser(lst[1][key]) + u'}\n'
+
+ format += '[end]\n'