Revision: 8690 Author: xqt Date: 2010-10-28 15:34:19 +0000 (Thu, 28 Oct 2010) Log Message: ----------- + unicode test
Modified Paths: -------------- trunk/pywikipedia/version.py
Modified: trunk/pywikipedia/version.py =================================================================== --- trunk/pywikipedia/version.py 2010-10-28 05:56:44 UTC (rev 8689) +++ trunk/pywikipedia/version.py 2010-10-28 15:34:19 UTC (rev 8690) @@ -79,3 +79,8 @@ print 'config-settings:' print 'use_api =', config.use_api print 'use_api_login =', config.use_api_login + if not __import__('unicodedata').normalize('NFC', u'\u092e\u093e\u0930\u094d\u0915 \u091c\u093c\u0941\u0915\u0947\u0930\u092c\u0930\u094d\u0917') == u'\u092e\u093e\u0930\u094d\u0915 \u091c\u093c\u0941\u0915\u0947\u0930\u092c\u0930\u094d\u0917': + print u'unicode test: triggers problem #3081100' + else: + print u'unicode test: ok' +
pywikipedia-svn@lists.wikimedia.org