Utf8Encoder

cdf.dashboard. Utf8Encoder

Static

Auxiliary UTF-8 encoder.

AMD Module

require(["cdf/dashboard/Utf8Encoder"], function(Utf8Encoder) { /* code goes here */ });

**Source:**dashboard/Utf8Encoder.js, line 72

**See also:**http://www.webtoolkit.info/javascript_utf8.html

Methods

Name
Description

encode_prepare(s) : string

Prepares a UTF-8 string to be used in Opera or Internet Explorer.

encode_prepare_arr(value) : string | array | number

Prepares an array containing UTF-8 strings to be used in Opera or Internet Explorer.

Methods Details

encode_prepare(s) : string

Prepares a UTF-8 string to be used in Opera or Internet Explorer.

**Source:**dashboard/Utf8Encoder.js, line 88

Name
Default Value
Summary

s : string

String to be prepared.

Name
Description

string | null

The prepared string.

Name

Default Value

Summary

s : string

String to be prepared.

Name

Description

string | null

The prepared string.

encode_prepare_arr(value) : string | array | number

Prepares an array containing UTF-8 strings to be used in Opera or Internet Explorer.

**Source:**dashboard/Utf8Encoder.js, line 107

Name
Default Value
Summary

value : string | array | number

Value to be prepared.

Name
Description

string | array | number

The prepared value.

Name

Default Value

Summary

value : string | array | number

Value to be prepared.

Name

Description

string | array | number

The prepared value.

Last updated

Was this helpful?