Undocumented
Class | BrokenFilesystemWarning |
The warning used by Werkzeug to signal a broken filesystem. Will only be used once per runtime. |
Function | get_filesystem_encoding |
No summary |
Variable | has_likely_buggy_unicode_filesystem |
Undocumented |
Function | _is_ascii_encoding |
Given an encoding this figures out if the encoding is actually ASCII (which is something we don't actually want in most cases). This is necessary because ASCII comes under many names such as ANSI_X3.4-1968. |
Variable | _warned_about_filesystem_encoding |
Undocumented |
Returns the filesystem encoding that should be used. Note that this is different from the Python understanding of the filesystem encoding which might be deeply flawed. Do not use this value against Python's string APIs because it might be different. See :ref:`filesystem-encoding` for the exact behavior.
The concept of a filesystem encoding in generally is not something you should rely on. As such if you ever need to use this function except for writing wrapper code reconsider.
Returns | |
str | Undocumented |
Parameters | |
encoding:t.Optional[ | Undocumented |
Returns | |
bool | Undocumented |