Altova MapForce 2025 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

 

Languages

Built-in.

 

Parameters

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

© 2018-2024 Altova GmbH