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

hocr-lines outputs byte strings in python3 #86

Closed
kba opened this issue Oct 17, 2016 · 3 comments
Closed

hocr-lines outputs byte strings in python3 #86

kba opened this issue Oct 17, 2016 · 3 comments
Milestone

Comments

@kba
Copy link
Contributor

kba commented Oct 17, 2016

E.g. ./hocr-lines test/testdata/sample.html

b'1 Down the Rabbit-Hole'
b'Alice was beginning to get very tired of sitting by her sister on the bank,'
b'and of having nothing to do: once or twice she had peeped into the book her'
b'sister was reading, but it had no pictures or conversations in it, `and what is'
b"the use of a book,' thought Alice `without pictures or conversation?"
@zuphilip
Copy link
Collaborator

Ah, I see. Also the test should be better to catch this case, see #84 (comment) .

@kba Are you working on this?

@kba
Copy link
Contributor Author

kba commented Oct 17, 2016

Yes.

@zuphilip zuphilip added this to the v1.1.1 milestone Oct 17, 2016
zuphilip added a commit that referenced this issue Oct 23, 2016
hocr-lines: Use lxml for text content, strict test, #86
@zuphilip
Copy link
Collaborator

This is fixed by #87.

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

No branches or pull requests

2 participants