Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to use unicode literals (u'') #36

Open
ErwinJunge opened this issue Oct 22, 2017 · 2 comments
Open

Failure to use unicode literals (u'') #36

ErwinJunge opened this issue Oct 22, 2017 · 2 comments

Comments

@ErwinJunge
Copy link
Contributor

The code uses string literals '' instead of unicode literals u'' in a lot of places. When combined with potential unicode characters from database content this will break on encoding errors.

We should convert all regular string literals to unicode literals.

@luapmartin
Copy link

Hi @rohithasrk I have propose a solution by adding unicode_literals from the __future__ package to ensure unicode strings #56

@rohithasrk
Copy link
Contributor

Hi @luapmartin. Will review your PR soon. Give me sometime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants