Added support for CodeMirror 3.1
Read extensions as UTF in Komodo