Benjamin Peterson <benja...@python.org> added the comment: Here is a patch. I only dealt with case mappings and not titlecase. Doing titlecase properly requires word segmentation, which I think should be another patch/issue. This patch fixes swapcase(), capitalize(), upper(), and lower(). It does not include the changes to Objects/unicodetype_db.h because those are huge. Regenerate the database if you want to test it. Please review.
---------- keywords: +patch nosy: +benjamin.peterson Added file: http://bugs.python.org/file24171/full-casemapping.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com