Discussion:
Other languages in speakup
Manuel Cortéz
2017-01-25 16:15:42 UTC
Permalink
Hi all,

I have read in some lists that speakup really does not support UTF-8, as
well as the Linux internals itself. I am not sure if it's still the case
because I have read this in posts from 2006 or 2007, and now we are in
Kernel 4.x, so I'm going to ask about this, again.

I have been using speakup with piespeakup, espeakup and speechd-up. My
current setup is a system with 3 languages: Spanish, English and
Russian. In fact with Spanish and English everything seems to be OK with
speakup. The problem comes when I switch to russian. It seems it doesn't
matter the charset I use, it has a very strange result. I'm going to try
to explain it.

I switched to russian (ISO-8859-5) as I have read this is supported by
the kernel. Also loaded the nls_iso8859-5 module in the Linux kernel
itself. I am using speechd-up, but the same happens with espeakup,
piespeakup and even if I do "sudo cat /dev/softsynth", so I think the
problem comes from speakup itself.

If I write a command like "$ apt-get update", it reads the error message
pretty well after I press the enter key. But if I try to use the review
keys for reading the message again, it starts to read lots of null
characters, strange names and mix alot of letters in other languages. SO
I think somehow review keys are not matching the encoding or someting
like this. But if is it the case, why I can hear the message in the
right encoding after I press enter? I can't understand this result.

Of course when I was using speechd-up I set ISO-8859-5 as speakup
encoding, so It should work and convert from ISO-8859-5 to UTF-8 in
runtime with iconv, but it seems something is different between review
keys and what you get after pressing enter.

Does someone know how could we get other languages or encodings to work
in speakup? Or if it is possible?
Samuel Thibault
2017-03-02 01:57:19 UTC
Permalink
Hello,
Post by Manuel Cortéz
I have read in some lists that speakup really does not support UTF-8,
Yes, and that is still the case. Your mail however dragged me into
trying to add support, and it seems to be relatively easy actually,
I have submitted a patch series for this. espeakup can then probably
easily be patched to support this.

Samuel
Willem van der Walt
2017-03-02 05:20:40 UTC
Permalink
Thanks Samuel, such a change would be a big advantage.
Kind regards, Willem
Post by Samuel Thibault
Hello,
Post by Manuel Cortéz
I have read in some lists that speakup really does not support UTF-8,
Yes, and that is still the case. Your mail however dragged me into
trying to add support, and it seems to be relatively easy actually,
I have submitted a patch series for this. espeakup can then probably
easily be patched to support this.
Samuel
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--

This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

Please consider the environment before printing this email.

Loading...