To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=50533
User jsk changed the following: What |Old value |New value ================================================================================ Assigned to|jsk |mmp -------------------------------------------------------------------------------- Status|STARTED |NEW -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Tue Jul 26 06:27:44 -0700 2005 ------- Most restrictive platform is windows due to its DOS heritage. So let's start there: Reserved names are: COM1 ... COM9 (with or without suffix) LPT1 ... LPT9 (with or without suffix) CON, PRN, AUX, CLOCK$, NUL Forbidden ASCII characters are 0 ... 31 (\,/,:,*,?,",<,>,| ...) Rules - no . as first letter - not more than one . - no . as last letter Sparc and linux: Are not restrictive at all. Almost any character and filename can be used, if necessary by "escaping" them. /dev/nul is a bad place to store files. However, there may be constraints set by the filesystem used. Using ASCII 0 ... 31 is always a bad idea, we might want to prohibit that. All OSes: - maximum filename length is 255 chars There is a document on the net that might give additional insight: http://www.portfoliofaq/pfaq/FAQ00352.htm. The document takes into account that there might be problems with network shares as well regarding the characters !+{}&[]. Issues to consider: - not all characters can be entered into our filesave-dialog (escaping is not possible) - BASIC has no means to protect the user against doing strange things. It allows any character BASIC knows about by building filenames using CHR$(ASCII DEC CHAR). Same for any other programming language. - we must pay attention to situations where a filename gets converted to something else (in the past we converted names like "a%20b" to "a b" which turned the entries in the picklist invalid). I don't know if this still applies. - probably not all characters can be displayed in our file-open dialog (tab, vertical tab etc.) but we should leave that aside for now. Please add it to the spec anyway. JSK->MMP: Is this good enough for you to work with or do you need more info? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]