wtnabe (owner)

Revisions

gist: 137895 Download_button fork
public
Public Clone URL: git://gist.github.com/137895.git
Embed All Files: show embed
linkchecker_i18n_hack.diff #
1
2
3
4
5
6
7
8
9
10
11
12
--- site-packages/linkcheck/i18n.py.org 2007-03-22 04:29:01.000000000 +0900
+++ site-packages/linkcheck/i18n.py 2009-06-30 08:52:04.000000000 +0900
@@ -26,7 +26,7 @@
 # more supported languages are added in init()
 supported_languages = ['en']
 default_language = 'en'
-default_encoding = locale.getpreferredencoding()
+default_encoding = 'utf_8'
 # It can happen that the preferrec encoding is not determinable, which
 # means the function returned None. Fall back to ASCII in this case.
 if default_encoding is None: