-
Notifications
You must be signed in to change notification settings - Fork 109
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
Add character encoding detection and decoding logic #206
Conversation
Looks like this causes a bunch of unit tests to fail. Can you look into that? |
@jshemas Thank you for your comment. Sure, I'm looking into those. |
@jshemas The result of |
Hello, can also look into why the integration tests are failing? |
Sorry, I worked on unit tests only. I'll also check on that. |
I have confirmed that the following test execution command passes all tests: npx ts-mocha --recursive \"./tests/integration/encoding.spec.ts\" --timeout 10000 The errors that were occurring were due to files intended to be in I have converted these files to the expected character encoding and temporarily hosted them on my github.io for testing purposes, so please check it out. I have created a separate Pull Request regarding this issue. Once it is merged into openGraphScraperPages, I will make further adjustments to this test. |
https://github.com/jshemas/openGraphScraper/actions/runs/7810736250/job/21348174777
Using Therefore, I made changes to avoid using |
@jshemas I would be happy if you could rerun the test. Sorry to bother you while you're busy. |
Thanks for fixing this issue! PR looks good to me. |
Changes are live in |
@jshemas Thank you for checking and merging! |
Resolve #199