LWN.net Logo

Control characters in file names

Control characters in file names

Posted Nov 25, 2010 16:29 UTC (Thu) by Spudd86 (guest, #51683)
In reply to: Control characters in file names by vonbrand
Parent article: Ghosts of Unix past, part 4: High-maintenance designs

They are also nearly impossible to handle correctly in shell scripts, and you should be using UTF8 for file names.

No one is suggesting this be something done in a non-optional way, but the encodings it would actually break that are also in use on Linux systems are very few and far between (probably largely because EVERYTHING expects those to be control characters, and they break shell scripts, etc. Plus we have UTF8)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds