GetCurrentDirUTF8 function
Gets the name for the current directory.
Declaration
function GetCurrentDirUTF8: stringFunction result
Name for the current directory.
Description
GetCurrentDirUTF8 is a
String function used to get the
name for the current directory in the local file system.
For the Windows environment, GetCurrentDirectoryW is called to get the current directory name. UTF8Encode is called to convert the WideString value to UTF-8, and used as the return value for the function.
For UNIX-like environments, GetCurrentDir in SysUtils is called to get the current directory name.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
