Sublime Forum

Supported Encoding?

#1

I really like sublimetext, but I have one odd requirement to use it full time.
I work with a lot of C code files that the text is encoded in Shift-JIS - for Japanese (I work for a Japanese company.)
The code isn’t in Japanese… but the comments are.

I am using a font that supports Japanese text, in Shift-JIS (I use the same font in other text editors, such as NotePad++)

I tried to specify it as the Shift-JIS as the fallback_encoding in the settings file, but when I check the console, it states that “Western (Windows 1252)” was the fallback encoding used to load the file.

Could you let me know:

  1. Is Shift-JIS supported as text encoding?
  2. Can I get a list of all text encoding I can set for “fallback_encoding” & “default_encoding” ?

Thanks!!

0 Likes

#2

Looks like this plug in works most of the time for my issue:
github.com/seanliang/ConvertToUTF8

I can edit and save files without any issue, which helps a lot.

0 Likes