Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Support encoding changing - #36

Merged
kevinsawicki merged 2 commits into
atom:masterfrom
ForNeVeR:encoding-support-pr
Oct 27, 2014
Merged

kevinsawicki merged 2 commits into
atom:masterfrom
ForNeVeR:encoding-support-pr

Conversation

@ForNeVeR

Copy link
Copy Markdown
Contributor

I've used the great iconv-lite library for recoding the read and written file content. This pull request should close #35 and open a way for implementing non-default encoding support in Atom.

@Newlifer

Copy link
Copy Markdown

Vote for merge.

@ForNeVeR

Copy link
Copy Markdown
Contributor Author

Guys, I'm sorry but I need some feedback. Can it be merged? Does it need some additional work? Are there some reasons not to merge it?

I can rebase it if it's okay and maintainers approve this feature.

@rexim

rexim commented Oct 27, 2014

Copy link
Copy Markdown

Vote for merge

@kevinsawicki

Copy link
Copy Markdown
Contributor

@ForNeVeR Sorry for the delay in reviewing this, can you rebase on top of master?

@ForNeVeR
ForNeVeR force-pushed the encoding-support-pr branch from e9b4596 to 728c07c Compare October 27, 2014 16:19
@ForNeVeR
ForNeVeR force-pushed the encoding-support-pr branch from 728c07c to 5813423 Compare October 27, 2014 16:21
@ForNeVeR

Copy link
Copy Markdown
Contributor Author

Ready!

Comment thread src/file.coffee Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iconv.encode returns a Buffer always right?

I don't think you need the encoding: null to fs.writeFileSync when called with a Buffer.

@kevinsawicki kevinsawicki mentioned this pull request Oct 27, 2014
18 of 25 tasks
@kevinsawicki

Copy link
Copy Markdown
Contributor

@ForNeVeR Thanks so much for adding this, apologies for the delay in review.

I'll go ahead an start getting it wired into text-buffer next

kevinsawicki added a commit that referenced this pull request Oct 27, 2014
@kevinsawicki
kevinsawicki merged commit 14d9bbc into atom:master Oct 27, 2014
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.

Encoding support

4 participants