old_contents: import requests
  
  def user_guide():
      r = requests.get("http://drweeaboo.net/msparp/userguide/duplicateguide.html")
      return r.text, r.status_code
  
  
new_contents: import requests
  
  def user_guide():
      r = requests.get("http://drweeaboo.net/msparp/userguide/duplicateguide.html")
      r.encoding = r.apparent_encoding
      return r.text, r.status_code
  
  
subject: Set response encoding based on apparent_encoding.