encoding blaaaaaargh