Solution to Accents and "Ñ" for Spanish models:
ManoleteGuitar opened this issue · comments
Manolete commented
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 commented
I have similar problem with polish "ą" letter
Michael Hansen commented
Try running chcp 65001
first.