Storages & Files codePage
codePage read/write property

Specifies the code page used for text operations when SFStream is configured to use ANSI text.

Syntax:

object.codePage = value
variable = object.codePage

Default is: cpAnsi (ANSI code page)

Parameters:

Most popular code page codes are defined in the ASP include files:

Const cpAnsi = 0 ' ANSI code page 
Const cpOem = 1 ' OEN code page
Const cpMac = 2 ' MAC code page
Const cpThread = 3 ' Current thread code page (not good for scripting)
Const cpSymbol = 42 ' Symbol code page

' Specific code pages - if they are not installed on the system conversions will fail
Const cpThai = 874
Const cpJapanese = 932
Const cpChinese = 936
Const cpKorean = 949
Const cpChinese2 = 950
Const cpEasternEuropean = 1250
Const cpCyrillic = 1251
Const cpWestern = 1252
Const cpGreek = 1253
Const cpTurkish = 1254
Const cpHebrew = 1255
Const cpArabic = 1256
Const cpBaltic = 1257

Remarks:

Code page specifies how the text is converted from/to ANSI characters (more precisely UNICODE to/from multibyte conversions).

Applies to: SFStream object

See also: ReadText. WriteText, unicodeText

newObjects Copyright 2001-2006 newObjects [ ]