code: def _normalize_custom_param_name(name):
      
  
      replacements = (("\u2018", "'"), ("\u2019", "'"), ("\u201C", '"'), ("\u201D", '"'))
      for orig, replacement in replacements:
          name = name.replace(orig, replacement)
      return name
docs: Replace curved quotes with straight quotes in a custom parameter name.
      These should be the only keys with problematic (non-ascii) characters,
      since they can be user-generated.