Please enable JavaScript to view this site.

Altova MapForce 2020 Enterprise Edition

The content-encoding function returns the character encoding of the MIME entity supplied as argument. In case of an HTTP message, this is the value of the charset parameter from the Content-Type header.

mf-func-content-encoding

 

Arguments

Name

Type

Description

entity

mf:MimeEntity

The MIME entity content.

 

Example

If a mapping calls a Web service that returns a Content-Type header as text/json; charset=utf-8, then the function output is utf-8.

mf-func-content-encoding-example

© 2020 Altova GmbH