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

--- Comment #2 from John Mark Vandenberg <jay...@gmail.com> ---
We now have a test case for this in page_tests, which fails after a clean
install of pywikibot.

One way to workaround this problem is to set the console codepage to 65001x

C:\pywikibot\core>chcp 65001
Active code page: 65001

And set pywikibot console_encoding = 'utf-8'

One my console, ar and fa doesnt display properly - boxes are used - but
copying the console text does put the proper ar/fa text into the clipboard
buffer.

However in pwb shell, 'print p' causes another exception.

>>> pywikibot.output(p)
Page(کاربر:John Vandenberg)
>>> p
Page(کاربر:John Vandenberg)Traceback (most recent call last):
  File "<console>", line 1, in <module>
IOError: [Errno 0] Error

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

Reply via email to