[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible bug when speaking space character
From: |
Lukas Loehrer |
Subject: |
Possible bug when speaking space character |
Date: |
Tue, 10 Jul 2007 21:09:17 +0200 |
Hi all,
when speech-dispatcher is asked to speak a space (0x20) character as a
character, I get the following call to the module_speak function:
data = "space" (A string of lenght 5!)
bytes = 5
msgtype = 2
this is a bug in my opinion. In the documentation, it says that if
msgtype == 2, then the
"data" argument is a string consisting of exactly 1 utf-8 character. Thus,
either msgtype == 0 in the above case, or
"data" should be " ". I would think that the latter is more i18n
friendly, but some TTS systems may not be able to pronounce it
correctly.
If the current behavior is the intended one, where can I find a list
of the special cases.
Best regards, Lukas
- Possible bug when speaking space character,
Lukas Loehrer <=