Skip to content

Implicit encoding argument fails with newstr #14

Description

@edschofield

The following test fails:

from future.builtins import str
b1 = b'\xcd\xeb\xff'
s1 = str(b1, 'cp1251')
assert s1 == u'Нля'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions