#Hi I need help, I'm using English + Hindi (mix) script for text to voice conversiongetting error "
1 messages · Page 1 of 1 (latest)
From the information provided, it seems like you're encountering a character encoding issue. This typically happens when the program tries to handle text that is not compatible with its default encoding.
However, based on the sections provided, there's no specific solution or workaround mentioned for this issue. The code you've shared seems to be correct for making a request to the ElevenLabs API.
The error might be related to the specific text you're trying to convert to speech. If the text contains special characters or is in a language that's not supported by the default encoding, you might encounter such an error.
You might want to check the text you're using for the text field in your data dictionary. Make sure it's a string and it doesn't contain any characters that can't be encoded in the default encoding. If the text is in Hindi, you might need to encode it in UTF-8 or another encoding that supports Hindi characters.
Unfortunately, without more specific information or context, it's hard to provide a more precise solution.
yes my text is "जल्द ही भाई yes Sir"