Add encoding switch setting.