Link to home
Start Free TrialLog in
Avatar of Sindibad_123
Sindibad_123

asked on

Disallow a path with the file name that contains a non-english characters

Hi, how to disallow a path with the file name that contains a non-english characters using javascript.

Regards.
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of saritapatel
saritapatel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sindibad_123
Sindibad_123

ASKER

>Now that you have allowed spaces, you really need to strip leading spaces

Thank you, but why I need to strip spaces?!
his full sentence reads
<<Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered:>>

Did you tried my solution?
>.Did you tried my solution?

No, your links talks about path validation, this is not what I'm talking about.

>Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered

My quest still stands, why I need to remove white spaces from a path and file name?! its allowed in Windows os.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial