Difference between revisions of "SET CODEPAGE"

From Lianjapedia
Jump to: navigation, search
(Example)
Line 45: Line 45:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
set codepage to utf-8
+
set codepage to "utf-8"
 
</code>
 
</code>
  

Revision as of 05:47, 4 January 2017

Purpose

Define the codepage for the App

Syntax

SET CODEPAGE TO <expC>

See Also

STRCONV(), Command Line Switches, CONVERTUTF8, SET CODEPAGEDATA

Description

The SET CODEPAGE TO command allows you to define the codepage for the App in the config file or App init(). The codepage to use is specified in <expC>.

The codepage values supported are:

  • Big5
  • Big5-HKSCS
  • CP949
  • EUC-JP
  • EUC-KR
  • GB18030
  • HP-ROMAN8
  • IBM 850
  • IBM 866
  • IBM 874
  • ISO 2022-JP
  • ISO 8859-1 to 10
  • ISO 8859-13 to 16
  • Iscii-Bng, Dev, Gjr, Knd, Mlm, Ori, Pnj, Tlg, and Tml
  • KOI8-R
  • KOI8-U
  • Macintosh
  • Shift-JIS
  • TIS-620
  • TSCII
  • UTF-8
  • UTF-16
  • UTF-16BE
  • UTF-16LE
  • UTF-32
  • UTF-32BE
  • UTF-32LE
  • Windows-1250 to 1258

Note: We strongly recommend that you use utf-8 at all times.

Example

set codepage to "utf-8"