[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] speechd-up fails to detect one-character messages
From: |
Hynek Hanke |
Subject: |
[BUG] speechd-up fails to detect one-character messages |
Date: |
Mon, 14 Jan 2008 11:34:24 +0100 |
Alexander E. Patrakov wrote:
>> I tried to cleanup the code in CVS (http://www.freebsoft.org/speechd-up)
>> and make the single character handling a bit more general, so now this
>> should work and not interfere with controll commands. Could you
>> please test if it is fixed now?
>>
> This particular bug no longer exists with the English language.
> However, the use of isprint() is questionable for other languages:
> speechd-up never calls setlocale(), and this means that all non-ASCII
> (i.e., 0x80..0xff) characters will be omitted from being counted
> (because the default "C" locale is used).
>
You are right. I've inverted the isprint test to !isspace() and set
locale to "C".
The controll characters should already be parsed out at that place.
Thank you,
Hynek Hanke
- [BUG] speechd-up fails to detect one-character messages, Hynek Hanke, 2008/01/07
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/07
- [BUG] speechd-up fails to detect one-character messages, Hynek Hanke, 2008/01/11
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/11
- [BUG] speechd-up fails to detect one-character messages,
Hynek Hanke <=
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/14
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/14
- [BUG] speechd-up fails to detect one-character messages, Hynek Hanke, 2008/01/18
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/18
- [BUG] speechd-up fails to detect one-character messages, Alexander E . Patrakov, 2008/01/19