Fix reading encoding/languageCode/text from TextRecord.