Camel.header_encode_string
Description: Reference for Camel.header_encode_string

### Function

# Camelheader_encode_string

#### Declaration [src]

    gchar*
    camel_header_encode_string (
      const guchar* in
    )

#### Description [src]

Encodes a ‘text’ header according to the rules of rfc2047.

#### Parameters

`in`

  Type: `const guchar*`

  Input string.

  The data is owned by the caller of the function.

#### Return value

Type: `gchar*`

The rfc2047 encoded header.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.