``` >>> view.encoding() 'Central European (Mac)' ``` See also https://github.com/sublimehq/sublime_text/issues/188