79 from eric6config import getConfig |
79 from eric6config import getConfig |
80 |
80 |
81 configDir = None |
81 configDir = None |
82 |
82 |
83 codingBytes_regexps = [ |
83 codingBytes_regexps = [ |
84 (2, re.compile(br'''coding[:=]\s*([-\w_.]+)''')), |
84 (5, re.compile(br'''coding[:=]\s*([-\w_.]+)''')), |
85 (1, re.compile(br'''<\?xml.*\bencoding\s*=\s*['"]([-\w_.]+)['"]\?>''')), |
85 (1, re.compile(br'''<\?xml.*\bencoding\s*=\s*['"]([-\w_.]+)['"]\?>''')), |
86 ] |
86 ] |
87 coding_regexps = [ |
87 coding_regexps = [ |
88 (2, re.compile(r'''coding[:=]\s*([-\w_.]+)''')), |
88 (5, re.compile(r'''coding[:=]\s*([-\w_.]+)''')), |
89 (1, re.compile(r'''<\?xml.*\bencoding\s*=\s*['"]([-\w_.]+)['"]\?>''')), |
89 (1, re.compile(r'''<\?xml.*\bencoding\s*=\s*['"]([-\w_.]+)['"]\?>''')), |
90 ] |
90 ] |
91 |
91 |
92 supportedCodecs = [ |
92 supportedCodecs = [ |
93 'utf-8', |
93 'utf-8', |