Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Add support for changing editor encoding - #3987

Merged
kevinsawicki merged 12 commits into
masterfrom
ks-encodings
Oct 29, 2014
Merged

kevinsawicki merged 12 commits into
masterfrom
ks-encodings

Conversation

@kevinsawicki

Copy link
Copy Markdown
Contributor
  • Upgrades pathwatcher and text-buffer for new encoding APIs
  • Adds a new encoding-selector package that mirrors the grammar selector behavior
  • Put the current encoding on the status bar
  • Allow changing of the encoding
  • Add auto detect option that uses jschardet

encodings

Closes #1806

@winstliu

Copy link
Copy Markdown
Contributor

👏 Lots of people will be made very happy by this :).

@lee-dohm

Copy link
Copy Markdown
Contributor

Maybe this is the wrong place for this but I figure that handling line endings will require a lot of the same changes. Would it be better to have a separate PR/package for line endings? Or should it be lumped in here?

@kevinsawicki
kevinsawicki force-pushed the ks-encodings branch 2 times, most recently from 2fe3b2b to d98b0f4 Compare October 29, 2014 18:28
@kevinsawicki

Copy link
Copy Markdown
Contributor Author

Would it be better to have a separate PR/package for line endings? Or should it be lumped in here?

Yeah, I'd like to think/talk more about newlines and do a separate PR for them.

kevinsawicki added a commit that referenced this pull request Oct 29, 2014
Add support for changing editor encoding
@kevinsawicki
kevinsawicki merged commit 6576ec5 into master Oct 29, 2014
@kevinsawicki
kevinsawicki deleted the ks-encodings branch October 29, 2014 18:58
@lynxdeterra

Copy link
Copy Markdown

How to set Atom auto detect file encoding when open files? (so don't need to manual change file encoding)

@lee-dohm

lee-dohm commented Nov 6, 2014

Copy link
Copy Markdown
Contributor

@lynxdeterra There is an enhancement request open at atom/encoding-selector#3. You should subscribe there for updates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for non-UTF-8 encodings

4 participants