speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

percent sign in speech dispatcher


From: Nicolas Graner
Subject: percent sign in speech dispatcher
Date: Fri, 17 Jul 2020 12:26:54 +0200

Hello all,

when calling spd-say with a string that contains a percent sign, this
sign and the followind letter seem to be interpreted as a printf-like
format string.
Examples :

    spd-say "%d"
is spoken as "zero"
    spd-say "%f"
is spoken as "zero o o o o o o"
    spd-say "%s"
is spoken as "null"
    spd-say "%z"
prints an error message: Speech Dispatcher failed to say message

It does not seem to depend on the language or output module.

Is this a bug or a feature?

Thanks for your insights.
Nicolas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]