[BRLTTY] Low-level BrlAPI questions
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Apr 15 11:59:14 EDT 2021
Sébastien Hinderer, le jeu. 15 avril 2021 17:54:33 +0200, a ecrit:
> 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?
"UTF16" will not ring any bell to windows programmers.
And UTF16 is not used by non-windows programmers.
(I mean end-programmers, not language bindings, which can be fine with
just using brlapi__write which gives them all power).
Samuel
More information about the BRLTTY
mailing list