Hi Shigio The method ‘load_ctags_path()’ doesn't work with Python 3 (unless perhaps with Win32/latin1). In other places the encoding has been fixed to ‘latin1’ as well. At least for ‘load_gtags_path()’ I'd probably change the encoding to the current locale with ‘locale.getpreferredencoding(False)’. Not sure what to do about reading source code files (read_file) or ctags output (CtagsParser.__init__()). Presumably, ‘utf-8’ would offer broader support than ‘latin1’, but neither might be correct in all cases.
Python 2 support has been dropped from Pygments more than four years ago. Does it make sense to maintain Python 2 compatibility in the pygments-parser? Best regards, Marcus
