Decoding XML to UTF-8 only occurs if it needs to.