Navigation:  thinBasic Modules > BIFF >

BIFF_SetCodePage

Previous pageReturn to chapter overviewNext page

 

Description

 

Set char code page for current BIFF file.

 

Syntax

 

n = BIFF_SetCodePage(CodePageNumber)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

CodePageNumber

Number

No

Char code page. See remarks for possible codes.

 

Remarks

 

Code

Meaning

367

437

720

737

775

850

852

855

857

858

860

861

862

863

864

865

866

869

874

932

936

949

950

1200

1250

1251

1252

1253

1254

1255

1256

1257

1258

1361

10000

32768

32769

ASCII

IBM PC CP-437 (US)

IBM PC CP-720 (OEM Arabic)

IBM PC CP-737 (Greek)

IBM PC CP-775 (Baltic)

IBM PC CP-850 (Latin I)

IBM PC CP-852 (Latin II (Central European))

IBM PC CP-855 (Cyrillic)

IBM PC CP-857 (Turkish)

IBM PC CP-858 (Multilingual Latin I with Euro)

IBM PC CP-860 (Portuguese)

IBM PC CP-861 (Icelandic)

IBM PC CP-862 (Hebrew)

IBM PC CP-863 (Canadian (French))

IBM PC CP-864 (Arabic)

IBM PC CP-865 (Nordic)

IBM PC CP-866 (Cyrillic (Russian))

IBM PC CP-869 (Greek (Modern))

Windows CP-874 (Thai)

Windows CP-932 (Japanese Shift-JIS)

Windows CP-936 (Chinese Simplified GBK)

Windows CP-949 (Korean (Wansung))

Windows CP-950 (Chinese Traditional BIG5)

UTF-16 (BIFF8)

Windows CP-1250 (Latin II) (Central European)

Windows CP-1251 (Cyrillic)

Windows CP-1252 (Latin I) (BIFF4-BIFF5)

Windows CP-1253 (Greek)

Windows CP-1254 (Turkish)

Windows CP-1255 (Hebrew)

Windows CP-1256 (Arabic)

Windows CP-1257 (Baltic)

Windows CP-1258 (Vietnamese)

Windows CP-1361 (Korean (Johab))

Apple Roman

Apple Roman

Windows CP-1252 (Latin I) (BIFF2-BIFF3)

 

Restrictions

 

This function must be called just after BIFF_CreateFile function.

 

See also

 

Examples