So I have a python script. I invoke the script like this:
cat file.txt | python myscript.py
What I am having trouble with is encoding special cha