iconv_canonicalize(3)

iconv_canonicalize3

Resolving character encoding names to canonical form

Usage

#include <iconv.h>

const char *

iconv_canonicalize(const char *name);

Library

Standard C Library (libc, -lc)

Overview

The iconv_canonicalize() function resolves the character encoding name specified by the name argument to its canonical form.

Return values

Upon successful completion iconv_canonicalize(), returns the canonical name of the given encoding. If the specified name is already a canonical name, the same value is returned. If the specified name is not an existing character encoding name, NULL is returned.

Releases

20 releases since macOS 14.0; the text changed 1 time.

  1. 14.0–26.4
  2. 26.5

Standards

The iconv_canonicalize function is a non-standard extension, which appeared in the GNU implementation and was adopted in FreeBSD 9.0 for compatibility's sake.

Authors

This manual page was written by Gabor Kovesdan ⟨[email protected]⟩.

From libiconv 115.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.