FromAnsi
PowerScript function
Description
Converts a blob containing an ANSI character string to a Unicode
string.
Syntax
1 |
FromAnsi ( blob ) |
Argument |
Description |
---|---|
blob |
A blob containing an ANSI character string you want |
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 will
be obsolete in a future release of PowerBuilder.
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
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest