code: def _build_control_char_mapping():
      """
      Build a translate mapping that strips likely-unintended control characters.
      See :func:`ftfy.fixes.remove_control_chars` for a description of these
      codepoint ranges and why they should be removed.
      """
      control_chars: dict[int, None] = {}
  
      for i in itertools.chain(
          range(0x00, 0x09),
          [0x0B],
          range(0x0E, 0x20),
          [0x7F],
          range(0x206A, 0x2070),
          [0xFEFF],
          range(0xFFF9, 0xFFFD),
      ):
          control_chars[i] = None
  
      return control_chars
  
file_path: python-ftfy/ftfy/chardata.py
imports: from __future__ import annotations
  import html
  import itertools
  import re
  import unicodedata
label_desc: Use image node_id 4 for calling a global function with example usage: _build_control_char_mapping() and returns: control_chars