mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-01 11:12:24 +02:00
![]() The `util.replace_control_chars()` function was overly strict, and would replace every non-ASCII character with "_". This included both control characters, as well as normal characters in a non-English alphabet. Relax these restrictions by checking each character and deciding if it's a Unicode control character, using the `unicodedata` Python package. With this change, emojis and non-English letters are now allowed. |
||
---|---|---|
.. | ||
conversion | ||
gui | ||
isolation_provider | ||
__init__.py | ||
args.py | ||
cli.py | ||
document.py | ||
errors.py | ||
logic.py | ||
settings.py | ||
util.py |