[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported

Uoti Urpala uoti.urpala at pp1.inet.fi
Tue Jun 20 22:46:46 CEST 2006


On Tue, 2006-06-20 at 22:33 +0200, Rickard Närström wrote:
> No, filesystem encoding is specified by LC_CTYPE locale setting. Some

Not quite - that's what encoding the current user presumably creates
files in, if there are other users using different non-utf-8 locales
then they can all create filenames in different encodings on the same
filesystem (which is a reason why using something other than utf-8 or
plain ASCII on a multiuser systems sucks).

> filesystem throw have special rules for character encoding (VFAT, NTFS, SMBFS

Rather they have restrictions on allowed filenames, such as requiring
it's a valid string in some encoding.

> etc.) but if I have understand things correctly the kernel/libc will convert 
> those filenames to LC_CTYPE charset.

No, there are no conversions on normal Unix filesystems. Either the
filesystem will use the byte sequence given by the application or reject
it as an invalid filename.




More information about the MPlayer-dev-eng mailing list