Encode question text