In <[EMAIL PROTECTED]>, Walter <[EMAIL PROTECTED]> typed: > There's probably someone who can explain why non- > printable characters are useful in file names, but > I'd really rather disallow them altogether - if > there's a build option or control flag to set. > Anyone?
BSD is character-set neutral. Well, it tries. The only two characters that are magic in file names are 0x2f and 0x00, because they both terminate the file name. Other than that, you are free to use whatever character encoding you want to. That's why characters that may be unprintable in some encodings are allowed in file names. What shows up in the locale en_US.ISO8859-1 as "Resumé" will show up with an unprintable last character if you haven't set the LANG environment variable. The only way to change this behavior is to change the kernel source to support it. Expect resistance from every developer in a country that doesn't use the English alphabet if you try and get that change put into the tree. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message