10-12-2009 04:48 PM
09-12-2010 06:27 PM
Okay, I just figured this one out experimentally. I wrote a little bit of test code that iterated through the first 255 characters, capturing which ones did or didn't throw exceptions when used in a file name.
Here's the list of ones that throw exceptions:
[\u0000, \u0001, \u0002, \u0003, \u0004, \u0005, \u0006, \u0007, \b, \t, \n, \u000B, \f, \r, \u000E, \u000F, \u0010, \u0011, \u0012, \u0013, \u0014, \u0015, \u0016, \u0017, \u0018, \u0019, \u001A, \u001B, \u001C, \u001D, \u001E, \u001F, ", %, *, /, :, <, >, ?, \, |]