Description
Converts a blob containing an ANSI character string to a Unicode string.
This function is obsolete starting from PowerBuilder 10.
Syntax
FromAnsi ( blob )
Argument |
Description |
---|---|
blob |
A blob containing an ANSI character string you want to convert to a Unicode string |
Return value
String.
Returns a character string if it succeeds and an empty string if it fails.
Usage
The FromAnsi function converts an ANSI character string contained in a blob to a Unicode character string.
FromAnsi has the same result as String(blob, EncodingANSI!) 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