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

Fixed non-ascii git branch name garbled. #796

Merged
merged 4 commits into from
Oct 2, 2020
Merged

Fixed non-ascii git branch name garbled. #796

merged 4 commits into from
Oct 2, 2020

Conversation

neo-sam
Copy link
Contributor

@neo-sam neo-sam commented Sep 30, 2020

By 2020, The utf-8 encoding beats the market for any other specified non-single byte encodings for internationalization. In fact, most of Asian developer would prefer utf-8 as the first-class citizens while remaining specified old encoding like gbk, big5, jis as default page code only for windows system compatibly.

#397 @dahlbyk you introduced a bug that it wont't change to utf-8 for non-single byte while you actually want to do it!

After fixed, It will avoid changing output encoding which causing error for single-byte charset users. (but it will return get non utf8 encoding string which make no problem in fact ) #708

@neo-sam
Copy link
Contributor Author

neo-sam commented Sep 30, 2020

@fullenw1 will you get IOException using new version in your machine?

src/Utils.ps1 Outdated Show resolved Hide resolved
@neo-sam
Copy link
Contributor Author

neo-sam commented Oct 1, 2020

How about the new version?

@dahlbyk dahlbyk merged commit d94feed into dahlbyk:master Oct 2, 2020
@dahlbyk
Copy link
Owner

dahlbyk commented Oct 2, 2020

If this still solves the issue you observe, I'm good with it. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants