Difference between revisions of "TProcessUTF8"

From Lazarus wiki
Jump to navigationJump to search
(not available in stable)
Line 9: Line 9:
 
== See also ==
 
== See also ==
 
* [[LCL Unicode Support]]
 
* [[LCL Unicode Support]]
 +
 +
 +
[[Category:FPC]]

Revision as of 21:39, 25 July 2015

Overview

TProcessUTF8 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