Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with charset
#1
Someone can help me, I'm trying to get a 128 AES key from a page and save it to a string the expected key should be '¶fx¿’£\ÓØÌQ1<ÒÍ' but with QM I don't get the same response, If I save it directly to a file it works, I tried to ConvertEncoding but without success. I used IntGetFile and WinHttp, but neither worked, in python this code archived the expected response, someone knows how to archive this in QM. The response charset is us-ascii.
 
Code:
Copy      Help
import requests

result = requests.get(url)
result.encoding = 'ansi'
print(result.text)


Messages In This Thread
Problem with charset - by marktech - 04-20-2022, 10:57 PM
RE: Problem with charset - by Gintaras - 04-21-2022, 04:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)