Description
Converts a blob containing an ANSI character string to a Unicode string.
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 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


