Created
June 29, 2009 23:56
-
-
Save wtnabe/137895 to your computer and use it in GitHub Desktop.
A i18n patch for linkchecker 2.5 installed by Fink (MacOSX).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment