Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add help/better description of the encoding preference. #28

Open
rpattabi opened this issue Apr 25, 2012 · 4 comments
Open

Add help/better description of the encoding preference. #28

rpattabi opened this issue Apr 25, 2012 · 4 comments
Labels

Comments

@rpattabi
Copy link

I was expecting, my editor will be opened with the default encoding I mentioned in It'sAllText's options. It looks like it is not the case.

For example, if I have gVim as my editor, gVim always opens with what I mentioned in _vimrc. I would think that beats the purpose of mentioning default encoding in ItsAllText. This option should override what is mentioned in the editor.

This is important since adding some special characters like » is not working as a regular user would expect.

[Edited title by docwhat. Old title: The default encoding mentioned in options is not taken]

@docwhat
Copy link
Owner

docwhat commented Apr 26, 2012

Heh. So apparently the docs needs to be clarified? Not sure. IAT is working as intended.

All the option in IAT does is control what encoding the file is saved as. It doesn't effect your editor at all.

Some editors can detect some encodings, such as UTF-16 (it has a BOM at the beginning -- a set of bytes to identify the encoding).

There is no universal way to pass encoding to your editor if it cannot auto-detect it.

For vim, it looks like it can auto-detect some encodings automatically with the AutoFenc plugin

Ciao!

@docwhat docwhat closed this as completed Apr 26, 2012
@rpattabi
Copy link
Author

I see. And yes, it would help to have a something that explains this as dumb user like me always think of it incorrectly :--). How about a label beside or below the encoding option?

Something like "This doesn't open your editor in this encoding. This is just for saving. Special chars like ® won't be saved correctly if your editor's encoding is different." Or something better?

@docwhat docwhat reopened this Apr 27, 2012
@docwhat
Copy link
Owner

docwhat commented Apr 27, 2012

I'll add it to the TODO list.

@rpattabi
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants