Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 appreciated!

like image 863
arturomp Avatar asked Apr 24 '13 15:04

arturomp


People also ask

How can I tell if a file is UTF-8 encoded?

Open the file in Notepad. Click 'Save As...'. In the 'Encoding:' combo box you will see the current file format. Yes, I opened the file in notepad and selected the UTF-8 format and saved it.

How do I change encoding in Sublime Text 3?

1 answer. To change the encoding of sublime , go to Preferences > Settings , search for default_encoding , then place the parameter in the configuration area of the user and enter the desired encoding .


1 Answers

Since this thread is a popular result in google search, here is the way to do it for sublime text 3 build 3059+: in user preferences, add the line:

"show_encoding": true 
like image 126
o.d Avatar answered Sep 21 '22 21:09

o.d