changed: verboseoutlog to outlog (reducing runtime)
This commit is contained in:
parent
9acdffdbb8
commit
9e18f320cd
9 changed files with 434 additions and 437 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
function convertUTF8ToASCII
|
||||
{
|
||||
param ([Parameter(Mandatory = $true, Position = 0)] [String]$utf8Text)
|
||||
|
|
@ -89,6 +88,7 @@ function removeDuplicatesFromSortedList
|
|||
param
|
||||
(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[AllowEmptyCollection()]
|
||||
[System.Collections.Generic.List[string]] $List,
|
||||
[Parameter(Mandatory = $false)]
|
||||
[string] $ListName = "list"
|
||||
|
|
@ -344,13 +344,6 @@ function moveToInstituteTmpPath
|
|||
return $tmpFilePath
|
||||
}
|
||||
|
||||
function convertUTF8ToASCII
|
||||
{
|
||||
param ([Parameter(Mandatory = $true, Position = 0)][string]$text)
|
||||
$utf8Text = [system.text.encoding]::UTF8.GetBytes($text)
|
||||
$asciiText = [system.text.encoding]::convert([text.encoding]::UTF8, [text.encoding]::ASCII, $utf8Text)
|
||||
-join [system.text.encoding]::ASCII.GetChars($asciiText)
|
||||
}
|
||||
|
||||
|
||||
function writeExceptionInfoReduced
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue