Detenc is a small utility program that helps in finding out what kind of encoding a file has. Detenc makes it possible to visually step through any number of encodings, and, by looking at the rendering on the screen, determine when the right encoding has been found.