_canonical_charset


_canonical_charset ( $charset )

Access:
  • private
Parameters:
  • (string) charset A charset name, e.g. "UTF-8", "Windows-1252", "SJIS".
See:
Returns:
  • (string) The canonical form of the charset.
Defined at:

Description

Retrieves a canonical form of the provided charset appropriate for passing to PHP functions such as htmlspecialchars() and charset HTML attributes.

Related Functions

rel_canonical, wp_get_canonical_url, wp_specialchars, wp_admin_canonical_url, _wp_specialchars

Top Google Results

User discussions

wpseek mobile