Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A i18n patch for linkchecker 2.5 installed by Fink (MacOSX).
--- site-packages/linkcheck/ 2007-03-22 04:29:01.000000000 +0900
+++ site-packages/linkcheck/ 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
You can’t perform that action at this time.