Variable: file-name-coding-system

file-name-coding-system is a variable defined in fileio.c.

Value

nil

Documentation

Coding system for encoding file names.

If it is nil, default-file-name-coding-system (which see) is used.

On MS-Windows, the value of this variable is largely ignored if w32-unicode-filenames (which see) is non-nil. Emacs on Windows behaves as if file names were encoded in utf-8.

View in manual

Probably introduced at or before Emacs version 20.1.

Source Code

// Defined in /usr/src/emacs/src/fileio.c
  DEFVAR_LISP ("file-name-coding-system", Vfile_name_coding_system,
	       doc: /* Coding system for encoding file names.
If it is nil, `default-file-name-coding-system' (which see) is used.

On MS-Windows, the value of this variable is largely ignored if
`w32-unicode-filenames' (which see) is non-nil.  Emacs on Windows
behaves as if file names were encoded in `utf-8'.  */);