old_contents: """
  Load and parse the config file making it 
  available to any files that import this.
  """
  
  import json
  
  config = {}
  
  try:
      with open('config.json', 'r', encoding='latin-1') as f:
          config = json.load(f)
  except OSError:
      print("Error reading config.json make sure the file exists and is readable")
      exit()
new_contents: """
  Load and parse the config file making it 
  available to any files that import this.
  """
  
  import json
  
  config = {}
  
  try:
      with open('config.json', 'r') as f:
          config = json.load(f)
  except OSError:
      print("Error reading config.json make sure the file exists and is readable")
      exit()
subject: Change the encoding to open config file to default