[BRLTTY] Low-level BrlAPI questions

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Thu Apr 15 11:54:33 EDT 2021


Samuel Thibault (2021/04/15 17:44 +0200):
> Dave Mielke, le jeu. 15 avril 2021 11:40:18 -0400, a ecrit:
> > [quoted lines by Samuel Thibault on 2021/04/15 at 17:07 +0200]
> > 
> > >Text size is in bytes, not characters. That is why strlen() is fine
> > >there. 
> > 
> > What about character sets like UTF-16, i.e. ones wherein a character might have an embedded NUL byte?
> 
> On Windows that's what brlapi_writeTextWin is there for.

Perhaps we should rename it to brlapi_writeTextUTF16 then, withthe due
deprecation logic? It'd feel more meaningful to me than a name talking
aobut the OS. What do you think, Samuel?

Sébastien.


More information about the BRLTTY mailing list