We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1303ae commit 6155b6bCopy full SHA for 6155b6b
1 file changed
charset_normalizer/utils.py
@@ -206,7 +206,7 @@ def is_unprintable(character: str) -> bool:
206
character.isspace() is False # includes \n \t \r \v
207
and character.isprintable() is False
208
and character != "\x1A" # Why? Its the ASCII substitute character.
209
- and character != b"\xEF\xBB\xBF".decode("utf_8") # bug discovered in Python,
+ and character != "\ufeff" # bug discovered in Python,
210
# Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space.
211
)
212
0 commit comments