Skip to content
New issue

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

Solution to Accents and "Ñ" for Spanish models: #479

Open
ManoleteGuitar opened this issue Apr 25, 2024 · 3 comments
Open

Solution to Accents and "Ñ" for Spanish models: #479

ManoleteGuitar opened this issue Apr 25, 2024 · 3 comments

Comments

@ManoleteGuitar
Copy link

Run from CMD:

piper.exe -m es_ES-davefx-medium.onnx --output_file out.wav --json-input < input.json

*Input.json file structure:
{ "text": "Tomorrow will be a good day." }

*Parsing with echo:
echo "Mañana será un buen día" | piper.exe --model .\models\es_ES-davefx-medium.onnx --output_file out.wav

-- Note:
Powershell with CAT creates problems with the UTF encoding of special characters such as accents and the "Ñ" letter .

Saludos.

@slasuc
Copy link

slasuc commented May 10, 2024

I have similar problem with polish "ą" letter

@synesthesiam
Copy link
Contributor

Try running chcp 65001 first.

@slasuc
Copy link

slasuc commented May 10, 2024

Try running chcp 65001 first.

well it did not helped, however using cmder.app solved problem with diacritic symbols as mentioned in #460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants