Вопрос

What characters are illegal on the filename on iOS or OS X?

For example, char "/" is illegal. I need to remove all of them and only them.

Это было полезно?

Решение

Illegal characters on the HFS file system:

  • : - illegal char.
  • / - it's poor to use it.
  • \0 - not sure, but don't use it too.

Другие советы

It is the same as any *nix filesystem. See this post: What characters should be restricted from a Unix file name?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top