X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fi18n.php;h=3d99ed0690253bba2e694310d8c7161a30a71720;hp=03c485547bd16725786b427ab51df4303afc2f7e;hb=d6c32258c05219670ab3b4ae2d460d844ea9a247;hpb=96d985e56dd20e2045e07673fc42e1ad908b398e diff --git a/functions/i18n.php b/functions/i18n.php index 03c48554..3d99ed06 100644 --- a/functions/i18n.php +++ b/functions/i18n.php @@ -13,11 +13,19 @@ * encoded using Unicode entities according to HTML 4.0. * * $Id$ + * @package squirrelmail */ +/** Everything uses global.php... */ require_once(SM_PATH . 'functions/global.php'); -/* Decodes a string to the internal encoding from the given charset */ +/** + * Decodes a string to the internal encoding from the given charset + * + * @param string $charset + * @param string $string Text to be decoded + * @return string Decoded text + */ function charset_decode ($charset, $string) { global $languages, $squirrelmail_language, $default_charset; global $use_php_recode, $use_php_iconv, $agresive_decoding;