Difference between revisions of "TProcessUTF8"
From Free Pascal wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | + | '''TProcessUTF8''' 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''' | 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''' | ||
Line 10: | Line 10: | ||
* [[LCL Unicode Support]] | * [[LCL Unicode Support]] | ||
+ | {{LCL Components}} | ||
+ | |||
+ | [[Category:Grids]] | ||
[[Category:FPC]] | [[Category:FPC]] |
Revision as of 14:43, 17 July 2016
TProcessUTF8 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