So I get a japanese input through a tkinter Entry and I want to display it in the windows console as search term and then add it to a url from which I retrieve the sourecode with the requests module.
I solved parsing the link with
urllib.parse.quote("japanese part", encoding="utf-8")
but using
os.popen("chcp 65001")
doesn't work to print japanese to the console, I still get
UnicodeEncodeError: 'charmap' codec can't encode character