The path argument is given directly to fopen(). The path encoding cannot be specified and there is no support for a wide character string.