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

Feature request: Automatic Encoding #148

Closed
shoedler opened this issue Jun 26, 2018 · 3 comments
Closed

Feature request: Automatic Encoding #148

shoedler opened this issue Jun 26, 2018 · 3 comments

Comments

@shoedler
Copy link

shoedler commented Jun 26, 2018

Would it be possible to use auto-encoding
as a possible Encoding type?

I've got the Issue that I work with files with different Encoding types. For example:

  • I've set my main Encoding type Settings/Core/File Encoding to UTF-8
  • I edit a file which natively is Windows 1252 encoded - save it and Diff it to an earlier Version of the same file. (Note: auto-encoding switches my encoding type automatically to Windows 1252 in this scenario)
  • The Diff will display all vocals like ä, ö or ü as differences since UTF-8 uses a different Symbol for them

This is indeed an uncommon scenario and it will likely be gone in 1 - 2 years from now since UTF-8 is slowly becoming the standard where I work. I'd be glad if you could look into it!

@shoedler
Copy link
Author

shoedler commented Jun 26, 2018

EDIT:

Since this seems to be a bigger Issue than I tought - (atom/encoding-selector#24) - it would be nice for now to be able to set the encoding type in the Diff View:
(Something like this)

atom-issue3

@shoedler
Copy link
Author

shoedler commented Jul 3, 2018

EDIT:

Upon further digging, it looks like the problem lies within the time-machine package.
I've created a thread littlebee/git-time-machine#135

@shoedler shoedler closed this as completed Jul 3, 2018
@mupchrch
Copy link
Owner

mupchrch commented Jul 3, 2018

Thanks for taking a look at that @WashirePie

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

No branches or pull requests

2 participants