uploadSettings.charset Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a charset used to encode the text data submitted by ActiveX/Java Uploader.

Syntax

JavaScript Initialize
$au.uploader({
    uploadSettings: {
        //...other params...
        charset: "UTF-8",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').uploadSettings().charset(value);
value = $au.uploader('uploaderID').uploadSettings().charset();

Property Value

Type: String

The charset. See possible values in the Remarks section.

Default value is "UTF-8".

Remarks

Encoding sets supported by ActiveX/Java Uploader are different for Internet Explorer and other browsers. The table below contains charsets supported both in Internet Explorer and non-Internet Explorer browsers.

CharsetAlternative NameDescription
UTF-8Eight-bit UCS Transformation Format.
ISO-8859-1ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
ISO-8859-2ISO Latin Alphabet No. 2.
ISO-8859-5ISO Latin/Cyrillic Alphabet.
ISO-8859-6ISO Latin/Arabic Alphabet.
ISO-8859-7ISO Latin Alphabet No. 7.
ISO-8859-8Latin/Hebrew Alphabet.
ISO-8859-9ISO Latin Alphabet No. 9.
windows-1250Windows East European.
windows-1251Windows Cyrillic.
windows-1253Windows Greek.
windows-1255Windows Hebrew.
windows-1256Windows Arabic.
windows-1257Windows Baltic.
windows-1258Windows Vietnamese.
big5Big5, Traditional Chinese.
cp866MS-DOS Russian.
euc-jpJISX 0201, 0208 and 0212, EUC encoding Japanese.
KOI8-RKOI-8, Russian.
shift_jisShift-JIS, Japanese.
gb2312x-EUC-CNGB2312, EUC encoding, Simplified Chinese.
ibm852Cp852Shift-JIS, Japanese.
DOS-862Cp862PC Hebrew.
windows-874MS874Windows Thai.

Visit Sun site for a full list of encodings supported in non-Internet Explore browsers.

See Also

Reference