Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

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

Parameters:
Name Default Value Summary
s : string

String to be prepared.

Returns:
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

Parameters:
Name Default Value Summary
value : string | array | number

Value to be prepared.

Returns:
Name Description
string | array | number

The prepared value.