Closed joe1chen closed 5 years ago
Hi @joe1chen This issue seems like a Service/API issue, which means it does not arise from the SDK. I will forward it to Polly service team to see how we will solve this issue. For now, you can try passing in the readable words only.
Update: This is an issue with Polly service. The team is working on fixing it.
@joe1chen
The Polly Service Team made a fix for this quite a while ago. Closing this issue.
I'm using an input with the
”
character (3-byte UTF-8 E2 80 9D) followed by a period. When calling polly for speech marks json, the response that is returned has truncated the”
character and is only returning the first byte of the unicode character (E2) and dropping the last 2 bytes (80 9D).To reproduce:
Output:
The
end
value, which refers to the end position in the UTF-8 byte stream, also show anend
value of6
in thesentence
line, which is incorrect and also indicative that truncation is occurring.The expected correct output should be: