Added character decoding.