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

[QUESTION] Charset not applied and fetch question marks instead #186

Open
edenhalfon opened this issue Jun 16, 2022 · 2 comments
Open

[QUESTION] Charset not applied and fetch question marks instead #186

edenhalfon opened this issue Jun 16, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@edenhalfon
Copy link

I want to achieve html and parse the links and their title. The title is on Hebrew (RTL lang).
Instead of getting the real title I get "????" instead. What am I missing here? (I tried changing the charset but usually UTF-8 is good enough)

Code Sample
response { htmlDocument { // parsed Doc is available here a { withAttributeKey = "data-item" findAll { println( it.attribute("href")) } } } }

@edenhalfon edenhalfon added the question Further information is requested label Jun 16, 2022
@christian-draeger
Copy link
Collaborator

christian-draeger commented Jun 17, 2022

hey, thx for finding this.
could you provide a html snippet or even the url you want parse from?

@edenhalfon
Copy link
Author

Hey, Sure the link is:
https://www.htzone.co.il/benefit/562/דלי-ריי/?sale_id=62
the language in the middle is Hebrew.

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

No branches or pull requests

3 participants