Refactored encodings consts to separate enum 'Encodings'