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

Need to decode unicode posts in python 2 #10

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@dairiki

dairiki commented Jun 19, 2012

Without this, unicode in posts results in errors when running under py2.
This fixes, I think, EnigmaCurry/blogofile#122.

Note: I've not tested this under py3 (though I have attempted not to break things.)

Reintroduce the .decode() which was dropped in 8766e13
Without this, unicode in posts results in errors in py2.
E.g. EnigmaCurry/blogofile#122

@dairiki dairiki referenced this pull request Jun 19, 2012

Closed

Unicode problems on mac os #122

@ghost ghost assigned douglatornell Jun 20, 2012

@douglatornell

This comment has been minimized.

Show comment
Hide comment
@douglatornell

douglatornell Jun 20, 2012

Collaborator

Thanks for figuring this out! It does indeed resolve EnigmaCurry/blogofile#122.

The six library is already a dependency via the blogofile core, so I just used the change to post.py. So, I accepted this pull request in spirit even though I didn't actually merge it.

Collaborator

douglatornell commented Jun 20, 2012

Thanks for figuring this out! It does indeed resolve EnigmaCurry/blogofile#122.

The six library is already a dependency via the blogofile core, so I just used the change to post.py. So, I accepted this pull request in spirit even though I didn't actually merge it.

@dairiki

This comment has been minimized.

Show comment
Hide comment
@dairiki

dairiki Jun 20, 2012

No problem!

dairiki commented Jun 20, 2012

No problem!

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