[BRLTTY] Bug#680648: Bug#680648: brltty: A new accent problem

Dave Mielke dave at mielke.cc
Sun Jul 8 08:53:12 EDT 2012


[quoted lines by Samuel Thibault on 2012/07/07 at 16:17 -0300]

>Where is convertTextToWchars called?  What I see in the driver in
>readCharacters_LinuxScreen() is a call to setScreenMessage which just
>uses strlen() and copyScreenCharacterText() without taking charset into
>account.

The message being discussed doesn't use that mechanism.

screen.c:1063: problemText = gettext("screen not in text mode");
screen.c:1072: description->unreadable = problemText;

brltty.c:3309: if (scr.unreadable) {
brltty.c:3310:   if (!isSuspended) {
brltty.c:3311:     writeStatusCells();
brltty.c:3312:     writeBrailleText("wrn", scr.unreadable);

brltty.c:296: int
brltty.c:297: writeBrailleText (const char *mode, const char *text) {
brltty.c:298:   size_t count = getTextLength(text) + 1;
brltty.c:299:   wchar_t characters[count];
brltty.c:300:   size_t length = convertTextToWchars(characters, text, count);

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the End of Salvation.
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://Mielke.cc/now.html
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list