Gets or sets a charset used to encode the text data submitted by Image 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

The table below contains some supported charsets. Visit Sun site for a full list of supported encodings.

CharsetDescription
US-ASCIISeven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.
ISO-8859-1ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
UTF-8Eight-bit UCS Transformation Format.
UTF-16BESixteen-bit UCS Transformation Format, big-endian byte order.
UTF-16LESixteen-bit UCS Transformation Format, little-endian byte order.
UTF-16Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
windows-1250Windows East European.
windows-1251Windows Cyrillic.
windows-1252Windows Latin-1.
windows-1253Windows Greek.
windows-1254Windows Turkish.
windows-1257Windows Baltic.
KOI8-RKOI-8, Russian.