Feature Requests item #3602107, was opened at 2013-01-25 06:38 Message generated for change (Tracker Item Submitted) made by n-fran You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Анима (n-fran) Assigned to: Nobody/Anonymous (nobody) Summary: standardize_notes.py encoding
Initial Comment: If I want to add to the script text of russian letters, is this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
To avoid this error, I think, it is necessary to register in the code bot these or any of the other lines:
# -*- coding: utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8')
And my bot started to function. Thanks.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107...
pywikipedia-bugs@lists.wikimedia.org