Skip to content

Terminal encoding problem related to issue #14586#20932

Merged
Tyriar merged 4 commits intomicrosoft:masterfrom
matheusrocha89:encoding-problem
Feb 20, 2017
Merged

Terminal encoding problem related to issue #14586#20932
Tyriar merged 4 commits intomicrosoft:masterfrom
matheusrocha89:encoding-problem

Conversation

@matheusrocha89
Copy link
Contributor

This PR try to fix the special chars encoding problem when the $LANG variable is not set on user's Mac. More information about this problem on #14586

@mention-bot
Copy link

@matheusrocha89, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Tyriar and @dbaeumer to be potential reviewers.

@msftclas
Copy link

Hi @matheusrocha89, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@matheusrocha89 matheusrocha89 changed the title Terminal encoding problem Terminal encoding problem related to issue #14586 Feb 20, 2017
… called if no locale passed to create terminal
env['PTYCOLS'] = cols.toString();
env['PTYROWS'] = rows.toString();
}
if (!env['LANG']) {
Copy link
Member

Choose a reason for hiding this comment

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

I think it's a good idea to have a fallback, but this would probably be better in _getLangEnvVariable instead, replacing the n === 0 case 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think too... I will do that.

@Tyriar
Copy link
Member

Tyriar commented Feb 20, 2017

@matheusrocha89 could you also please sign the CLA mentioned in #20932 (comment)?

@Tyriar Tyriar added this to the February 2017 milestone Feb 20, 2017
@matheusrocha89
Copy link
Contributor Author

@Tyriar I already signed, I also received the confirmation email.

@Tyriar Tyriar closed this Feb 20, 2017
@Tyriar Tyriar reopened this Feb 20, 2017
@msftclas
Copy link

Hi @matheusrocha89, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, MSBOT;

@Tyriar
Copy link
Member

Tyriar commented Feb 20, 2017

Great! Thanks for looking into this 😃

@Tyriar Tyriar merged commit d09231a into microsoft:master Feb 20, 2017
@matheusrocha89
Copy link
Contributor Author

You're welcome. Thank you to help me with this @Tyriar

@matheusrocha89 matheusrocha89 deleted the encoding-problem branch March 2, 2017 02:48
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
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.

4 participants