Encode Red fields