For narrow character strings, the operating system dependent current encoding for pathnames ([fs.def.pathname]). For wide character strings, the implementation defined execution wide-character set encoding ([lex.charset]).