TProcessUTF8
From Lazarus wiki
Jump to navigationJump to searchTProcessUTF8 is an invisible component on the System tab of the Component Palette It is a version of FPC's TProcess that accepts UTF8 Unicode characters - normal TProcess uses ANSI/ASCII characters.
TProcessUTF8 is part of Lazarus (introduced in the development version which will end up as Lazarus 1.4 in future) in the UTF8Process unit; it can be used from command-line programs by setting a requirement to LCLBase
Example
See the TProcess examples in Executing External Programs; however, you should pass UTF8 strings instead of ASCII/ANSI strings.
See also