char-encoding-detector
Version:
Character encoding detector
25 lines (24 loc) • 670 B
TypeScript
import { Recognizer, Match } from '../type';
/**
* This is a superclass for the individual detectors for
* each of the detectable members of the ISO 2022 family
* of encodings.
*/
declare class ISO_2022 implements Recognizer {
name(): string;
escapeSequences: number[][];
match(det: any): Match;
}
export declare class ISO_2022_JP extends ISO_2022 {
name(): string;
escapeSequences: number[][];
}
export declare class ISO_2022_KR extends ISO_2022 {
name(): string;
escapeSequences: number[][];
}
export declare class ISO_2022_CN extends ISO_2022 {
name(): string;
escapeSequences: number[][];
}
export {};