Description
Converts a character string to a Unicode blob.
Syntax
ToUnicode ( string )
Return value
Blob.
Returns a Unicode blob if it succeeds and an empty blob if it fails.
Usage
The ToUnicode function converts an ANSI character string to a Unicode blob. ToUnicode has the same result as Blob(string) and it is obsolete starting from PowerBuilder 10.
Unicode file format
Unicode files sometimes have two extra bytes at the start of the file to indicate that they are Unicode files.
See also