[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)


Convert string to encoding for use in single-byte filesystem API


Source position: ustringh.inc line 155

function ToSingleByteFileSystemEncodedFileName(

  const Str: UnicodeString


function ToSingleByteFileSystemEncodedFileName(

  const arr: array of WideChar


function ToSingleByteFileSystemEncodedFileName(

  const Str: RawByteString



ToSingleByteFileSystemEncodedFileName converts the argument (Str or Arr) to a single-byte string, encoded using the codepage used by the single-byte filesystem API.

This routine is simply an auxiliary routine, which converts the argument to a single-byte string using DefaultFileSystemCodePage as a codepage.

See also



Codepage to use for filenames

Documentation generated on: Mar 17 2017