Systems and methods for accurately recognizing a language format of an input imaging data stream when no explicit language switch is present. A sniffer process is initiated when an imaging device receives an input imaging data stream. The sniffer process analyzes an initial sample of the input stream to determine the language format by enumerating through a set of language recognizers that are implemented as callback functions. The enumeration uses a dynamic heuristic approach to selecting the order in which to try the language recognizers. Each language recognizer has a sample size associated with it. For each language recognizer enumerated, the sniffer process pre-reads the associated sample size and invokes the associated callback function with the byte sample. The enumeration continues until a language recognizer acknowledges recognition of the language format or the set of language recognizers is exhausted.