MCPcopy
hub / github.com/rspeer/python-ftfy / _c1_fixer

Function _c1_fixer

ftfy/fixes.py:501–502  ·  view source on GitHub ↗
(match: Match[str])

Source from the content-addressed store, hash-verified

499
500
501def _c1_fixer(match: Match[str]) -> str:
502 return match.group(0).encode("latin-1").decode("sloppy-windows-1252")
503
504
505def fix_c1_controls(text: str) -> str:

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected