Deprecated copy of `ftfy.fix_encoding_and_explain()`.
(text: str)
| 35 | |
| 36 | |
| 37 | def fix_encoding_and_explain(text: str) -> Any: |
| 38 | """ |
| 39 | Deprecated copy of `ftfy.fix_encoding_and_explain()`. |
| 40 | """ |
| 41 | warnings.warn( |
| 42 | "`fix_encoding_and_explain()` has moved to the main module of ftfy.", |
| 43 | DeprecationWarning, |
| 44 | stacklevel=2, |
| 45 | ) |
| 46 | return ftfy.fix_encoding_and_explain(text) |
| 47 | |
| 48 | |
| 49 | def fix_encoding(text: str) -> str: |
no outgoing calls