I'm using python for web scraping but when I want to extract contents from a page, the Persian contents don't show correctly. CMD shows squares instead of letters and VSCode shows letters separated and disorderly. Even when I print a simple Persian word, the problem doesn't solve.
I change the font and I change the encoding (default encoding is UTF-8) and none of them helps.
The "سلام" word showed "مالس" in VSCode.