Home Download Buy Blog Forum Support

File encoding preferences

File encoding preferences

Postby moe on Tue Apr 06, 2010 9:09 pm

Hello guys,

I would like to suggest the following new general preferences in sublime text with regards to encoding.

Code: Select all
# Sets the encoding when new files are created by sublime (i.e. CTRL+N or File->new).
# Could be one of 'system' or a valid encoding type.
newWithEncoding

# Sets the encoding of files that are opened by sublime text (i.e. CTRL+O or File->open...).
# Could be one of 'detect' or a valid encoding type.
openWithEncoding

# Sets the encoding of files that are saved with sublime text (i.e. CTRL+S or File->save).
# Could be one of 'detect' or a valid encoding type.
saveWithEncoding

----------TO GO WITH THE CURRENT----------

# The encoding to use when the encoding can't be determined automatically.
# ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
fallbackEncoding Western (Windows 1252)


These general preferences could of course be overridden by the user pref file, and subsequently the per-type file. Although a UI component isn't really necessary, it would be nice to have one along the bottom between the current language, and the line endings that shows the current encoding.
moe
 
Posts: 8
Joined: Mon Jun 15, 2009 3:38 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests