GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — Allow numeric Ids and name of registered code pages in '-Encoding' parameters by iSazonov · Pull Request #7636 · PowerShell/PowerShell Conversation
|
|
Travis Plunk (@TravisEz13) Could you please look why PowerShell-CIs failed on Update-Help tests? (Nightly Travis CI failed too). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
there were connection issues to download.microsoft.com... The PR should be rebased. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
edc51a7 to
855dd2d
Compare
|
Rebased to fix CIs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| { | ||
| return System.Text.Encoding.GetEncoding(stringName); | ||
| } | ||
| case int intName: |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you add some tests for the int case?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Added.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
see comments
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| BeforeAll { | ||
| $testValue = "ф" | ||
| if ($IsWindows) { | ||
| $expectedBytes = 244,13,10 -join "-" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Add a comment about what the characters are
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Added.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
One comment about the expected characters
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) Have you filed a doc issue? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Travis Plunk (@TravisEz13) Doc issue was created. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…rameters (PowerShell#7636) Enhance the encoding transformation attribute: - to allow numeric Ids of registered code pages (like -Encoding 1251) - to allow string names of registered code pages (like -Encoding "windows-1251")
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.