Difference between revisions of "STRCONV()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with "==Purpose== Convert a codepage encoded character expression to its UTF-8 equivalent ==Syntax== STRCONV(<expC> [, <cp-id>]) ==See Also== Command Line Switches, CONVERTU...") |
Yvonne.milne (Talk | contribs) |
||
Line 12: | Line 12: | ||
The source codepage can be optionally specified in <cp-id>, where <cp-id> is the numeric or character string codepage id. If not specified, "Windows-1250" is assumed. | The source codepage can be optionally specified in <cp-id>, where <cp-id> is the numeric or character string codepage id. If not specified, "Windows-1250" is assumed. | ||
+ | |||
+ | Introduced in Lianja v2.0.0. | ||
==Example== | ==Example== |
Revision as of 08:04, 4 September 2015
Contents
Purpose
Convert a codepage encoded character expression to its UTF-8 equivalent
Syntax
STRCONV(<expC> [, <cp-id>])
See Also
Command Line Switches, CONVERTUTF8
Description
The STRCONV() function converts a codepage encoded character expression, <expC>, to its UTF-8 equivalent.
The source codepage can be optionally specified in <cp-id>, where <cp-id> is the numeric or character string codepage id. If not specified, "Windows-1250" is assumed.
Introduced in Lianja v2.0.0.
Example
cGreek = filetostr("mygreekfile.txt") ? cGreek ? strconv(cGreek,1253) ? strconv(cGreek,"Windows-1253")