We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PowerShell for ADF to Synapse Pipeline migration, but there is a problem with garbled characters in case of non-English multibyte character codes.
https://github.com/Azure-Samples/Synapse/blob/main/Pipelines/ImportADFtoSynapse/importADFtoSynapseTool.ps1
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PowerShell for ADF to Synapse Pipeline migration, but there is a problem with garbled characters in case of non-English multibyte character codes.
https://github.com/Azure-Samples/Synapse/blob/main/Pipelines/ImportADFtoSynapse/importADFtoSynapseTool.ps1
Please make the following modifications to avoid the JSON character encoding issue.
Please add this code.
$jsonBody =[Text.Encoding]::UTF8.GetBytes($jsonBody)
Thanks.
The text was updated successfully, but these errors were encountered: