Pass the correct encoding.