speakup: Turn i18n files utf-8
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 27 Mar 2024 11:50:51 +0000 (12:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 12:30:29 +0000 (14:30 +0200)
commit4bc4634eda10b5a9e703d4b52c0941ea7fbf0fa9
tree3e067a13926a102dea64999ebab2d12127d6f564
parentfec50db7033ea478773b159e0e2efb135270e3b7
speakup: Turn i18n files utf-8

i18n currently assume latin1 encoding, which is not enough for most
languages.

This separates out the utf-8 processing of /dev/synthu, and uses it for
a new synth_writeu, which we make synth_printf now use. This has the
effect of making all the i18 messages processed in utf-8.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20240327115051.ng7xqnhozyii4ik2@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/devsynth.c
drivers/accessibility/speakup/speakup.h
drivers/accessibility/speakup/synth.c