This contains the code used to obtain the default encoding as well as obtaining the encoder or decoder as needed.