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

Replace text encoding function #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

carsguru
Copy link

Changed encoding function in convert_text. There was iconv, but now is
mb_convert_encoding. It needs, because when we pass HTML in UTF-8
during creating instance of simple_html_dom and target character set
windows-1251 and want to get some text through ->text() sometimes we
catch an error "iconv(): Detected an illegal character in input string".

Changed encoding function in convert_text. There was iconv, but now is
mb_convert_encoding. It needs, because when we pass HTML in UTF-8
during creating instance of simple_html_dom and target character set
windows-1251 and want to get some text through ->text() sometimes we
catch an error "iconv(): Detected an illegal character in input string".
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

Successfully merging this pull request may close these issues.

2 participants