Back to index

plone3  3.1.7
Variables
MimetypesRegistry.encoding Namespace Reference

Variables

tuple EMACS_ENCODING_RGX = re.compile('[^#]*[#\s]*-\*-\s*coding: ([^\s]*)\s*-\*-\s*')
tuple VIM_ENCODING_RGX = re.compile('[^#]*[#\s]*vim:fileencoding=\s*([^\s]*)\s*')
tuple XML_ENCODING_RGX = re.compile('<\?xml version=[^\s]*\s*encoding=([^\s]*)\s*\?>')

Variable Documentation

tuple MimetypesRegistry.encoding.EMACS_ENCODING_RGX = re.compile('[^#]*[#\s]*-\*-\s*coding: ([^\s]*)\s*-\*-\s*')

Definition at line 5 of file encoding.py.

tuple MimetypesRegistry.encoding.VIM_ENCODING_RGX = re.compile('[^#]*[#\s]*vim:fileencoding=\s*([^\s]*)\s*')

Definition at line 6 of file encoding.py.

tuple MimetypesRegistry.encoding.XML_ENCODING_RGX = re.compile('<\?xml version=[^\s]*\s*encoding=([^\s]*)\s*\?>')

Definition at line 7 of file encoding.py.