Sign in Join
FPDoc Onlineexperiment

ToSingleByteFileSystemEncodedFileName function

In unit System

Convert string to encoding for use in single-byte file system API.

Declaration

pascal
function ToSingleByteFileSystemEncodedFileName(const Str: UnicodeString)
: RawByteString

Description

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

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.