How do I see the current encoding of a file in Sublime Text?

前端 未结 6 1540
广开言路
广开言路 2020-11-30 16:37

How do I see the current encoding of a file in Sublime Text?

This seems like a pretty simple thing to do but searching has not yielded much. Any pointers would be ap

6条回答
  •  心在旅途
    2020-11-30 17:06

    Another option in case you don't wanna use a plugin:

    Ctrl+` or

    View -> Show Console

    type on the console the following command:

    view.encoding()
    

    In case you want to something more intrusive, there's a option to create an shortcut that executes the following command:

    sublime.message_dialog(view.encoding())
    

提交回复
热议问题