strcvt
strcvt — converts the Windows character set of a string.
strcvt (string, from?, to?)
stringThe string that you need to convert.
fromAn optional
argument specifying the Windows code page identifier
for the local character set. If no value is entered, the default
is 0, for your system's code page
identifier.
toAn optional
argument specifying the Windows code page identifier
of the new character set for the string. If no value is entered,
the default is 65001, for UTF8.
The converted string.
This function lets Windows users convert the local character set for a
given string into a different character set. In many cases, this function is
used to convert the local character set into UTF8, and can thus be run with
a single string argument, using the defaults for the
from and to arguments. A
list of valid Windows code page identifiers for various character sets can
be found online in the Microsoft documentation, or by searching on the term
"code page identifiers".
![]() | |
In QNX or Linux this function simply returns the
|