module documentation

Undocumented

Class ​Broken​Filesystem​Warning 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
def get_filesystem_encoding():

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
strUndocumented
has_likely_buggy_unicode_filesystem =

Undocumented

def _is_ascii_encoding(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.
Parameters
encoding:t.Optional[str]Undocumented
Returns
boolUndocumented
_warned_about_filesystem_encoding: bool =

Undocumented