https://bugzilla.wikimedia.org/show_bug.cgi?id=70976

            Bug ID: 70976
           Summary: codec encoding and decoding problems on win32 3
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to