BeautifulSoup shows strange text

I am trying to scrape data from a Bengali (language) website. When I inspect element on that website, everything is as it should.


request = requests.get("")
soup = BeautifulSoup(request.content, "lxml")

Part of the output:

  সà¦à¦°à¦¾à¦à¦° à¦à¦¿à¦à§à¦à¦¾à¦¸à¦¾

সà¦à¦°à¦¾à¦à¦° à¦à¦¿à¦à§à¦à¦¾à¦¸à¦¾ >> should be >>"সচরাচর জিজ্ঞাসা"

I am not sure if it is ASCII or not. I used to convert that text into Unicode. As per this website, it may be ASCII. But I checked an ASCII table online and none of those characters were in it. So now I need to convert those text into readable stuff. Any help?

Read more here:

Content Attribution

This content was originally published by The Golden at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: