public static function buildAndGetDocument($content) :array {
		// convert the array to a basic CSV string
		$content = is_array($content) ? self::convertArrayToString($content) : $content;
		// convert the content to the proper charset (if needs be)
		$content = mb_convert_encoding($content, self::destination_charset);
		// prefix it with the BOM characters
		$content = self::getBomCharacters() . $content;
		// return the formatted document
		return [
			$content,
			self::destination_charset
		];
	}