encoding normalization