Closed Jun711 closed 1 year ago
@szhaomsft I tried adding charset=UTF-8 but it still doesn't work. These are the headers that I used
headers = {"Content-type" : "application/ssml+xml; charset=UTF-8",
"X-Microsoft-OutputFormat" : "riff-24khz-16bit-mono-pcm",
"Authorization" : "Bearer " + auth_token,
"Content-length" : str(len(text))
}
It doesn't seem to be able to read words with accented characters when I send the request using the API endpoint.
However, it works when I use the sdk which uses wss but I don't plan to switch to that at the moment as it requires me to re-configure my server using docker.
I have checked the document on Azure website but there is no example for that.
This is what I used to send the TTS request.
Thank you