FromUnicode – PB Docs 2018

FromUnicode

PowerScript function

Description

Converts a blob containing a Unicode character string to a string in
the file format of the current version of PowerBuilder.

Syntax

Argument

Description

blob

A blob containing a Unicode character string you want
to convert to a string in the file format of the current version
of PowerBuilder

Return value

String.

Returns a character string if it succeeds and an empty string if it
fails.

Usage

The FromUnicode function converts a Unicode blob to a Unicode
character string and has the same result as String(blob). This function
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. If you are opening a
Unicode file in stream mode, skip the first two bytes if they are
present.

See also

FromAnsi

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