| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_vendor/chardet/__pycache__/ |
Upload File : |
�
�/�c� � �v � d dl mZmZ ddlmZ ddlmZ ddlmZm Z m
Z
ddlmZm
Z
mZmZ G d� de� � Zd S )
� )�Optional�Union� )�
CharSetProber)�CodingStateMachine)�LanguageFilter�MachineState�ProbingState)�HZ_SM_MODEL�ISO2022CN_SM_MODEL�ISO2022JP_SM_MODEL�ISO2022KR_SM_MODELc �� � � e Zd ZdZej fdeddf� fd�
Zd� fd�Zede e
fd�� � Zede e
fd�� � Zde
fd �Zd
eeef defd�Z� xZS )
�EscCharSetProberz�
This CharSetProber uses a "code scheme" approach for detecting encodings,
whereby easily recognizable escape or shift sequences are relied on to
identify these encodings.
�lang_filter�returnNc � �� t � � � |�� � g | _ | j t j z rX| j � t t � � � � | j � t t � � � � | j t j
z r,| j � t t � � � � | j t j z r,| j � t t � � � � d| _ d | _ d | _ t"