Fix encoding conversion, missing }