Skip to content

Commit

Permalink
Fix video translation readme.md best practice for escape char for azu…
Browse files Browse the repository at this point in the history
…re blob url. (#2602)
  • Loading branch information
DapengLi2016 authored Sep 24, 2024
1 parent 2fef59e commit 23c2b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/video-translation/csharp/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Video translation client tool and API sample code

# Best practice
## Escape char for argument -videoFileAzureBlobUrl and -webvttFileAzureBlobUrl
If you run a client sample tool in a Windows shell and there is an & in the URL arguments (for example, a SAS token in an Azure blob URL), the & needs to be converted to && to escape it.
If you run a client sample tool in a Windows shell and there is an & in the URL arguments (for example, a SAS token in an Azure blob URL), the & needs to be converted to ^& to escape it.

For example, if the actual URL for the argument videoFileAzureBlobUrl is https://a/b?c&d, then when you run the command in the Windows shell, you need to run the command like this:

-videoFileAzureBlobUrl "https://a/b?c&&d"
-videoFileAzureBlobUrl "https://a/b?c^&d"

## How to retry?
If you initiate a command to create a translation or iteration job and subsequently restart Windows, the job will continue to run on the server side. To check the status of the translation/iteration job, you can use the query translation/iteration tool command or the API, providing the specific translation/iteration ID.

0 comments on commit 23c2b6b

Please sign in to comment.