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

Implement Get-Encoding #1

Open
StefanGreve opened this issue Mar 5, 2023 · 0 comments
Open

Implement Get-Encoding #1

StefanGreve opened this issue Mar 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@StefanGreve
Copy link
Owner

This Cmdlet should return a custom object with the following properties

  • LineEndings: CRLF or LF (as string values)
  • Encoding: compare remark [1] (as an enum)

There have been a couple of implementation attempts in the past, though their reliability
is sometimes questionable [2] [3].


[1]: List of common character encodings: https://en.wikipedia.org/wiki/Character_encoding
[2]: C# code from SO: https://stackoverflow.com/a/62814282/10827244
[3]: Some godforsaken batch function, also from SO: https://stackoverflow.com/a/43147510/10827244

@StefanGreve StefanGreve added the enhancement New feature or request label Mar 5, 2023
@StefanGreve StefanGreve self-assigned this Mar 5, 2023
@StefanGreve StefanGreve added the help wanted Extra attention is needed label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant