Last modified: 2014-09-18 07:32:21 UTC
When running tests on windows, without setting config.transliteration_target in user_config, the following encoding problem appear. ====================================================================== ERROR: testReprUnicode (tests.page_tests.TestPageObject) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\pywiki\core\tests\page_tests.py", line 451, in testReprUnicode s = repr(page) File "c:\pywiki\core\pywikibot\page.py", line 253, in __repr__ self.title().encode(config.console_encoding)) File "c:\Python34\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character '\u014c' in position 0: character maps to <undefined>