FromAnsi – PB Docs 2017

FromAnsi

PowerScript function

Description

Converts a blob containing an ANSI character string to a Unicode
string.

Syntax

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

FromUnicode

String

ToAnsi

ToUnicode


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x