Open
Description
PowerShell for ADF to Synapse Pipeline migration, but there is a problem with garbled characters in case of non-English multibyte character codes.
Please make the following modifications to avoid the JSON character encoding issue.
$uri = "$destUri/$resourceType/$($_.name)?api-version=$($config.SynapseWorkspace.apiVersion)";
$jsonBody = ConvertTo-Json $_ -Depth 30
$jsonBody =[Text.Encoding]::UTF8.GetBytes($jsonBody)
$name = $_.name
Please add this code.
$jsonBody =[Text.Encoding]::UTF8.GetBytes($jsonBody)
Thanks.
Metadata
Assignees
Labels
No labels