<commit_before><?php
header("Content-type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: filename=ficheroExcel.xls");
header("Pragma: no-cache");
header("Expires: 0");

echo $_POST['content'];
?><commit_msg>reporte_excel<commit_after><?php
$str = $_POST['content'];
if (mb_detect_encoding($str ) == 'UTF-8') {
   $str = mb_convert_encoding($str , "HTML-ENTITIES", "UTF-8");
}

header('Content-type: application/x-msdownload; charset=utf-16');
header('Content-Disposition: attachment; filename=reporte_exel.xls');
header('Pragma: no-cache');
header('Expires: 0');

echo $str ; 
?>
{'fraction_non_alphanumeric': 0.21026490066225165, 'fraction_numerical': 0.009933774834437087, 'mean_word_length': 8.029850746268657, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5914708', 'n_tokens_mistral': 220, 'n_tokens_neox': 215, 'n_words': 34}