Fixed encoding for 1.9