/sources/character_sets.php

Description
Functions
convert_to_internal_encoding (line 100)

Convert some data from one encoding to the internal encoding.

  • return: Converted data.
string convert_to_internal_encoding (string $data, [?string $input_charset = NULL])
  • string $data: Data to convert.
  • ?string $input_charset: Charset to convert from (NULL: that read by the last http_download_file call).
do_environment_utf8_conversion (line 59)

Do a UTF8 conversion on the environmental GET/POST parameters.

void do_environment_utf8_conversion (string $from_charset)
  • string $from_charset: Charset that was used to encode the environmental data.
do_simple_environment_utf8_conversion (line 24)

Do a UTF8 conversion on the environmental GET/POST parameters (ISO-8859-1 charset, which PHP supports internally).

void do_simple_environment_utf8_conversion ()
entity_utf8_decode (line 160)

Convert some data from UTF to a character set PHP supports, using HTML entities where there's no direct match.

  • return: Converted data (false: could not convert).
~string entity_utf8_decode (string $data, string $internal_charset)
  • string $data: Data to convert.
  • string $internal_charset: Charset to convert to.

Documentation generated on Sun, 02 Jan 2011 23:10:41 +0000 by phpDocumentor 1.4.3