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 _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
