ToUnicode – PB Docs 2017

ToUnicode

PowerScript function

Description

Converts a character string to a Unicode blob.

Syntax

Argument

Description

string

A character string you want to convert to a Unicode
blob

Return value

Blob.

Returns a Unicode blob if it succeeds and an empty blob if it
fails.

Usage

The ToUnicode function converts an ANSI character string to a
Unicode blob. ToUnicode has the same result as Blob(string) and will be
obsolete in a future version 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

FromAnsi

FromUnicode

ToAnsi


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