accept-charset

Specifies the acceptable character sets for entities returned in the response or events associated with this request.

Value

UTF-8, UTF-16, ISO-8859-1.

Values are case-sensitive. Use dashes when specifying in an MRCP header. Use underscores when specifying in session.xml. If this parameter is not specified, any character set is acceptable.

DEFAULT: (none)

How to set

In the browser, using the Accept-Charset header in a RECOGNIZE method.

For the recognizer—In the application’s session.xml, in the <speechrecog> section of <speechserver> under <sessionparameters>.

Usage

Frequently used.

Applicable for Nuance Recognizer. Not applicable for Dragon Voice recognition.

Speech Server converts the result into the charset specified in the Accept-Charset header. This is useful in specifying the character set to use in the results of a RECOGNITION-COMPLETE event.