Re: man/man7/pathname.7: Correct handling of pathnames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux