CodePage Property

Object: XFResume
Syntax: XFResume.CodePage [=Language Code as Long]
Type: Long
Default Value: Either the value of the XFRequest.CodePage property of the initial request or, if XFRequest.CodePage was not set, the default system CodePage.
Read/Write: Read/Write
Description: In a resumable file transfer, CodePage sets the language CodePage for the file(s) to transfer. XFile is Unicode compliant, enabling the transfer of data between systems, regardless of language, without the risk of file name corruption. Set XFResume.CodePage to preserve file names in their original language in a resumed upload.

The CodePage property specifies a Unicode language code for correctly storing the file name internally. To display the file name correctly, set the HTML <meta> tag's Charset attribute as well.

When client and server share the same language platform, you do not need to set CodePage. For heterogeneous language support, set CodePage to 65001 and charset to UTF-8 (Unicode).

For a complete list of CodePage values, see Microsoft's Character Set Recognitionreference.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.