public static function utf8Decode($data) {
		if (is_string($data)) {
			return utf8_decode($data);

		} else if (is_array($data)) {
			foreach ($data as $key => $value) {
				$data[utf8_decode($key)] = self::utf8Decode($value);
			}

		} else if (is_object($data)) {
			foreach ($data as $key => $value) {
				$data->{$key} = self::utf8Decode($value);
			}
		}

		return $data;
	}
public static function utf8Decode($data) {
		if (is_string($data)) {
			return utf8_decode($data);

		} else if (is_array($data)) {
			foreach ($data as $key => $value) {
				$data[utf8_decode($key)] = self::utf8Decode($value);
			}

		} else if (is_object($data)) {
			foreach ($data as $key => $value) {
				$data->{$key} = self::utf8Decode($value);
			}
		}

		return $data;
	}
public static function utf8Decode ( $ data ) { if ( is_string ( $ data ) ) { return utf8_decode ( $ data ) ; } else if ( is_array ( $ data ) ) { foreach ( $ data as $ key => $ value ) { $ data [ utf8_decode ( $ key ) ] = self :: utf8Decode ( $ value ) ; } } else if ( is_object ( $ data ) ) { foreach ( $ data as $ key => $ value ) { $ data -> { $ key } = self :: utf8Decode ( $ value ) ; } } return $ data ; }
Decode a resource object for UTF-8.

@access public
@param mixed $data
@return array|string
@static
Decode a resource object for UTF - 8 .