Consider the following piece of code: # -*- coding: utf-8 -*- print u"Վարդանաշեն" Running this in a terminal works: $ python test.py Վարդանաշեն Redirecting standard output to a file fails: $...
I was about to write a script to implement exactly what already exists natively in GNU grep, a blasphemy I got saved from by my workmates. grep --line-number --colour=AUTO --before-context 5...