Tl,DR: Yes. But beware that you misunderstand what's going on and this may be a source of vulnerabilities. An argument of a program can be an arbitrary byte string that doesn't contain a null byte. The limitation with null bytes comes from the operating system. Depending on your programming language and its standard library, a null byte may be rejected, or ...


Yes, it is safe form an error-free perspective. As long as they are not special characters they should not influence anything. Take a look at the special characters listed here. If you do not use any of them in your string there should be no problem whatsoever.

Only top voted, non community-wiki answers of a minimum length are eligible