In one of the tests of the hw4 recovery, print_recorded_exams function, italian letter à breaks the code. Apparently, len function considers this letter as 2 which causes issue while printing. Using encoding utf-8 i could fix its appearance in the file. However, while running it gives this error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 1131: invalid continuation byte.
The problem is while reading from file, the string "Attività Progettuale Di Ottimizzazione Su Reti M" is read as "Attività Progettuale Di Ottimizzazione Su Reti M" which adds another space. How can I fix this problem?
The problem is while reading from file, the string "Attività Progettuale Di Ottimizzazione Su Reti M" is read as "Attività Progettuale Di Ottimizzazione Su Reti M" which adds another space. How can I fix this problem?