After writing an article about character encoding, I had been gradually developing the same attendance management script.
When writing scripts on Windows, sometimes the script crashes just by printing Japanese characters.UnicodeEncodeError: 'cp932 ...