   :group 'projectile
   :type 'string)
 
-(defcustom projectile-svn-command "find . -type f"
+(defcustom projectile-svn-command "find . -type f -print0"
   "Command used by projectile to get the files in a svn project."
   :group 'projectile
   :type 'string)
 
-(defcustom projectile-generic-command "find . -type f"
+(defcustom projectile-generic-command "find . -type f -print0"
   "Command used by projectile to get the files in a generic project."
   :group 'projectile
   :type 'string)

      (if projectile-use-native-indexing
          (setq files-list (projectile-index-directory directory patterns))
        ;; use external tools to get the project files
        (let ((current-dir (or (file-name-directory (buffer-file-name))
                               default-directory)))
          ;; the shell commands need to invoked in the project's root dir
          (cd (projectile-project-root))
          (setq files-list (projectile-get-repo-files))

    )
  "A list of pairs of commands and prerequisite lambdas to perform project compilation.")

(defvar projectile-projects-cache
  (if (file-exists-p projectile-cache-file)
    (with-temp-buffer
      (insert-file-contents projectile-cache-file)
      (read (buffer-string)))
    (make-hash-table :test 'equal))
  "A hashmap used to cache project file names to speed up related operations.")

(defun projectile-version ()
