Fix encoding for HTG quote