function parse_charset($charset) {
		$charset = trim(strtolower($charset));
		if (isset($this->synonyms[$charset])) {
			$charset = $this->synonyms[$charset];
		}

		return $charset;
	}
function parse_charset($charset) {
		$charset = trim(strtolower($charset));
		if (isset($this->synonyms[$charset])) {
			$charset = $this->synonyms[$charset];
		}

		return $charset;
	}
function parse_charset ( $ charset ) { $ charset = trim ( strtolower ( $ charset ) ) ; if ( isset ( $ this -> synonyms [ $ charset ] ) ) { $ charset = $ this -> synonyms [ $ charset ] ; } return $ charset ; }
Normalize - changes input character set to lowercase letters.

@param	string		Input charset
@return	string		Normalized charset
@author	Martin Kutschker <martin.t.kutschker@blackbox.net>
Normalize - changes input character set to lowercase letters .