Sublime Forum

How to get encoding of a view?

#1

Tried something like view.settings().get(‘encoding’) without luck.
Is there a way to know the actual encoding of the buffer (not the fallback_encoding that work fine) ?

By the way, is there a way to get a list of all settings ?
Like “view.settings().list()” or just a “print view.settings()”

0 Likes