Detected encoding returns the given encoding when its given