Fixed encoding bug in post processor