Skip to content

Added Support For Big Endian UTF-32#11947

Merged
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
NoMoreFood:bigendian_utf32
Apr 7, 2020
Merged

Added Support For Big Endian UTF-32#11947
adityapatwardhan merged 2 commits intoPowerShell:masterfrom
NoMoreFood:bigendian_utf32

Conversation

@NoMoreFood
Copy link
Copy Markdown
Contributor

PR Summary

Added Support For Big Endian UTF-32 to common encoding enumerations/classes.

PR Context

Big Endian UTF-32 is a somewhat common encoding and was supported under Windows PowerShell. This pull adds support for it and also addresses a small bug that resulted in a test being effectively skipped.

PR Checklist

- Added support for big endian UTF-32 and common classes.
- Updated relevant tests for big endian UTF-32.
- Fixed test that was attempting to enumerate encoding types but was enumerating an empty set.
Copy link
Copy Markdown
Collaborator

@vexx32 vexx32 left a comment

Choose a reason for hiding this comment

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

Nice work!

There's a few things we can do a bit better here, but overall this looks good. Thanks for adding this! 💖 😊

Comment thread src/System.Management.Automation/utils/EncodingUtils.cs Outdated
Comment thread test/powershell/Language/Parser/RedirectionOperator.Tests.ps1 Outdated
Comment thread test/powershell/Language/Parser/RedirectionOperator.Tests.ps1
Comment thread test/powershell/Language/Parser/RedirectionOperator.Tests.ps1 Outdated
Comment thread test/powershell/Language/Parser/RedirectionOperator.Tests.ps1
@ghost ghost added Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept and removed Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept labels Feb 25, 2020
- Addressed review comments in test scripts.
@adityapatwardhan
Copy link
Copy Markdown
Member

@JamesWTruher Can you please review this.

Copy link
Copy Markdown
Collaborator

@JamesWTruher JamesWTruher left a comment

Choose a reason for hiding this comment

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

LGTM

@adityapatwardhan adityapatwardhan merged commit 5f89a10 into PowerShell:master Apr 7, 2020
@adityapatwardhan
Copy link
Copy Markdown
Member

@NoMoreFood Thank you for your contribution!

@adityapatwardhan adityapatwardhan added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Apr 7, 2020
@adityapatwardhan adityapatwardhan added this to the 7.1.0-preview.2 milestone Apr 7, 2020
@NoMoreFood NoMoreFood deleted the bigendian_utf32 branch April 7, 2020 23:19
@ghost
Copy link
Copy Markdown

ghost commented Apr 23, 2020

🎉v7.1.0-preview.2 has been released which incorporates this pull request.:tada:

Handy links:

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

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants