Add resource encoding setting.