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

fix: added experimental encoding priority list #835

Merged
merged 3 commits into from
Feb 21, 2020

Conversation

JohnstonCode
Copy link
Owner

@JohnstonCode JohnstonCode commented Feb 21, 2020

This adds a new config option svn.experimental.encoding_priority which takes an array of encoding types and prioritise them based on order. For example ["UTF-8", "GB18030", "windows-1251"] will prioritise UFT-8 then GB18030 ect. If there are no matches it will just return null and will either use default.encoding or UTF-8.

src/encoding.ts Outdated Show resolved Hide resolved
@JohnstonCode JohnstonCode merged commit 706dbc1 into master Feb 21, 2020
@JohnstonCode JohnstonCode deleted the encoding-priority-list branch February 21, 2020 10:58
JohnstonCode added a commit that referenced this pull request Feb 21, 2020
## [2.10.2](v2.10.1...v2.10.2) (2020-02-21)

### Bug Fixes

* added experimental encoding priority list ([#835](#835)) ([706dbc1](706dbc1))
@JohnstonCode
Copy link
Owner Author

🎉 This PR is included in version 2.10.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants