Hi Jason, Branden, On Mon, Jan 27, 2025 at 10:06:52PM -0500, Jason Yundt wrote: > > On Mon, Jan 27, 2025 at 06:07:30PM -0500, Jason Yundt wrote: > > > > I would do in a GUI exactly the same as what command-line programs do: > > > > pass the raw string to whatever API prints them. If the string makes > > > > sense in the current locale, it will be shown nicely. If it doesn't > > > > make sense, it will display weird characters, but that's not a terrible > > > > issue. Just run again with the appropriate locale. > > > > > > OK, but how does that API figure out what characters to display? What > > > character encoding should that API use when drawing the characters? I > > > think that it???s OK to replace the current recommendation, but > > > pathname(7) should really explain how such an API would figure out what > > > characters need to be drawn on the screen. > > > > That's not a pathname issue anymore. It's just the issue of printing > > bytes to a user. I don't think pathname(7) should talk about how bytes > > are shown to a user. > > Where should it be documented, then? I don't know. Maybe Branden knows? Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature