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

incompatible character encodings: ASCII-8BIT and UTF-8 #30

Open
venkatasubbaiah opened this issue Jun 23, 2015 · 1 comment
Open

incompatible character encodings: ASCII-8BIT and UTF-8 #30

venkatasubbaiah opened this issue Jun 23, 2015 · 1 comment

Comments

@venkatasubbaiah
Copy link

When text extraction from PDF files it showing the "Incompatible character encodings: ASCII-8BIT and UTF-8 " error. Please help me.

@nruth
Copy link

nruth commented Jan 13, 2016

It sounds like something is trying to put utf8 encoded text into a string marked as ascii encoded.

Can you provide an example of code and a file that causes the error?

These blog posts are a good intro to how modern ruby versions handle string encoding.
http://yehudakatz.com/2010/05/05/ruby-1-9-encodings-a-primer-and-the-solution-for-rails/
http://yehudakatz.com/2010/05/17/encodings-unabridged/

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