safe character set for filenames windows and linux server?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

safe character set for filenames windows and linux server?

Postby jmichae3 » 19. July 2012 05:15

I would like to see as a regex (maybe something like a character class) a list of characters for filenames for html documents which will work on most any windows and linux server.

one of my questions is about using commas and spaces. my understanding is that those should be avoided in the general case, along with punctuation and control charracters except ._- so a regex I would be thinking of would look like [A-Za-z0-9_\.-]
-------------------------
Jim Michaels
jmichae3
 
Posts: 39
Joined: 12. November 2007 09:41
XAMPP Version: 1.8.2-3
Operating System: win7-64-sp1-ult-retail

Re: safe character set for filenames windows and linux serve

Postby Altrea » 19. July 2012 05:33

To be as safe as possible, just use [A-Za-z0-9_]
to prevent case sensitive issues better use [a-z0-9_]
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6536
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests