Have I mentioned I hated text codecs?