On Fri, Jul 19, 2013 at 03:22:33PM +0200, Vincent Lefevre wrote: > On 2013-07-09 20:21:33 +0200, Branko Čibej wrote: > > Unlike on Windows and Mac OS (the latter at least with HFS+), the is no > > notion of native filesystem encoding on other Unix-like platforms. The > > best we can do is look at the locale settings, specifically, LC_CTYPE. > > No, the best you can do is to let the user choose. LC_CTYPE typically > specifies the encoding used by the *terminal*,
No, it determines the character set used by various standard C library functions that deal with (usually single-byte) characters. Any behaviour further up the stack is derived and application specific. Therefore, you are both right and wrong, it depends on the terminal in use :)