Solution Automation - Remove Emoji Handling
This commit is contained in:
Родитель
c6f50da536
Коммит
62b38233c9
|
@ -143,8 +143,7 @@ foreach ($inputFile in $(Get-ChildItem $path)) {
|
|||
$baseMainTemplate.parameters | Add-Member -MemberType NoteProperty -Name "formattedTimeNow" -Value $timeNowParameter
|
||||
}
|
||||
try {
|
||||
# Handle non-ASCII characters (Emoji's)
|
||||
$data = $rawData -replace "[^ -~\t]", ""
|
||||
$data = $rawData
|
||||
# Serialize workbook data
|
||||
$serializedData = $data | ConvertFrom-Json -Depth $jsonConversionDepth
|
||||
# Remove empty braces
|
||||
|
|
Загрузка…
Ссылка в новой задаче