[issue7008] str.title() misbehaves with apostrophes

Antoine Pitrou report at bugs.python.org
Tue Sep 29 10:57:51 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

> To make things even more complicated, the usual typewriter apostrophe
> that you find in ASCII is not the only one in Unicode:
> 
> http://en.wikipedia.org/wiki/Apostrophe#Unicode

Yup, and the right one typographically isn't necessarily the ASCII
one :-)
That's why Microsoft Word automatically inserts a non-ASCII apostrophe
when you type « ' », at least in certain languages (apparently
OpenOffice doesn't).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7008>
_______________________________________


More information about the Python-bugs-list mailing list