Difference between revisions of "TProcessUTF8"
From Lazarus wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | '''TProcessUTF8''' is an invisible component on the [[System tab]] of the [[Component Palette]] and is a version of the [[TProcess]] component that accepts [[UTF8]] Unicode characters - normal TProcess uses ANSI/ASCII characters. | + | '''TProcessUTF8''' [[image:tprocessutf8.png]] is an invisible component on the [[System tab]] of the [[Component Palette]] and is a version of the [[TProcess]] component 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 8: | Line 8: | ||
== See also == | == See also == | ||
* [[doc:lcl/utf8process/tprocessutf8.html|TProcessUTF8 doc]] | * [[doc:lcl/utf8process/tprocessutf8.html|TProcessUTF8 doc]] | ||
+ | * [[TProcess]] | ||
+ | * [[TAsyncProcess]] | ||
* [[LCL Unicode Support]] | * [[LCL Unicode Support]] | ||
Revision as of 14:13, 29 July 2016
TProcessUTF8 is an invisible component on the System tab of the Component Palette and is a version of the TProcess component 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