44

How do I change the file encoding in Sublime Text 2?

How do I change character encoding of a text file in OpenOffice.org writer?

http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3541

3 Answers3

44

Just go to File → "Save with encoding" and select your preferred encoding.

Indrek
  • 24,874
BlaShadow
  • 645
24

If you want to set UTF-8 as your default encoding, you can also do this:

Preferences -> Settings - User -> Add this line of code

"default_encoding": "UTF-8",

Save.

Conor
  • 341
3

This is the correct configuration:

{
    "Default_encoding": "UTF-8",
    "font_size": 9,
    "ignored_packages":
    [
        "Vintage"
    ]
}
Mokubai
  • 95,412