Skip to content

Conversation

@thomasryck
Copy link

I have modified unicode character decoding to be compatible with Python 3.x. Indeed, Python 3.x does not have unichr() method because Python 2.x and Python 3.x do not handle it the same way.

In Python 3, there's no difference between unicode and normal strings anymore. Only between unicode strings and binary data. So the developers finally removed the unichr function in favor of a common chr which now does what the old unichr did.

I have modified unicode character decoding to be compatible with Python 3.x. Indeed, Python 3.x does not have unichr() method because Python 2.x and Python 3.x do not handle it the same way.
@kenorb
Copy link
Collaborator

kenorb commented Oct 9, 2019

Thank you, make sense.

@kenorb kenorb merged commit 3e30bf1 into mycognitive:master Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants