leosongwei / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

mid3iconv: isascii broken #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Should be '\x7f', not '\x127'

>>> def isascii(string):return not string or min(string) < '\x127'
... 
>>> isascii('f')
False
>>> 
>>> def isascii(string):return not string or min(string) < '\x7f'
... 
>>> isascii('f')
True
>>>

Original issue reported on code.google.com by Anton.Bu...@gmail.com on 31 Oct 2010 at 11:37

GoogleCodeExporter commented 9 years ago
Actually, no, it's even more wrong than that.

Original comment by joe.wreschnig@gmail.com on 31 Oct 2010 at 11:53

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r98.

Original comment by joe.wreschnig@gmail.com on 31 Oct 2010 at 11:58