Difference between revisions of "TProcessUTF8"
From Lazarus wiki
Jump to navigationJump to search (useful page) |
(not available in stable) |
||
Line 2: | Line 2: | ||
TProcessUTF8 is a version of FPC's TProcess that accepts UTF8 Unicode characters - normal TProcess uses ANSI/ASCII characters. | TProcessUTF8 is a version of FPC's TProcess that accepts UTF8 Unicode characters - normal TProcess uses ANSI/ASCII characters. | ||
− | TProcessUTF8 is part of Lazarus in the '''UTF8Process''' unit; it can be used from command-line programs by setting a requirement to '''LCLBase''' | + | 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 == | == Example == |
Revision as of 07:56, 27 October 2014
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.