| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/chardet/__pycache__/ |
Upload File : |
�
�|oi� � �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"