Fixes encoding of quotation characters